Skip to content

Commit

Permalink
GH-4399 use docker compose (no dash) consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
abrokenjester committed Feb 19, 2023
1 parent debcc9e commit 30d1bad
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docker/README_DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,35 @@ the maven project is assembled and the result is packed in the SDK ZIP-file unde
2. The SDK ZIP-file is copied and renamed as `ignore/rdf4j.zip` (as required by the Dockerfile script).

3. Building the docker image can be done with a docker command directly,
but the script takes an alternative approach and uses docker-compose instead.
but the script takes an alternative approach and uses docker compose instead.

4. Once the image is built, it is tagged as `eclipse/rdf4j-workbench:${maven.project.version}`.


### Running up the docker container (docker-compose)
### Running up the docker container (docker compose)

Use docker-compose to run up the container. This uses the `docker-compose.yml` file to start
Use `docker compose` to run up the container. This uses the `docker-compose.yml` file to start
a container with the port mapped to 8080 and persistence using docker volumes.

`docker-compose up -d`
`docker compose up -d`

#### Other useful docker-compose commands
#### Other useful docker compose commands

Stop:

`docker-compose stop`
`docker compose stop`

Follow logs:

`docker-compose logs -f`
`docker compose logs -f`

Show all logs:

`docker-compose logs --tail="all"`
`docker compose logs --tail="all"`

Start containers in foreground (prints logs and stops containers with Ctrl-C):

`docker-compose up`
`docker compose up`

Stop and remove all containers and delete all my volumes (for all containers and all volumes):

Expand Down

0 comments on commit 30d1bad

Please sign in to comment.