Skip to content

Commit

Permalink
Added rm flag to remove stopped docker container, also removed robofl…
Browse files Browse the repository at this point in the history
…ow executable as its already inclded in the entrypoint so shouldn't be added to the docker run
  • Loading branch information
bigbitbus committed Nov 21, 2022
1 parent 513d1ee commit 80089ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ Then, run the roboflow cli docker image interactively like so
```
# Authorize
docker run -it -v ~/.config/roboflow:/root/.config/roboflow roboflowcli:latest auth
docker run -it --rm -v ~/.config/roboflow:/root/.config/roboflow roboflowcli:latest auth
# Use the CLI as usual inside a docker container.
docker run -it -v ~/.config/roboflow:/root/.config/roboflow roboflowcli:latest project list
docker run -it --rm -v ~/.config/roboflow:/root/.config/roboflow roboflowcli:latest project list
```

Here we have mounted the roboflow credentials into the docker container. The first docker command authorizes the user and stores credentials
Expand Down

0 comments on commit 80089ae

Please sign in to comment.