Skip to content
Snippets Groups Projects
Commit 3842f41f authored by Fernando Herrero's avatar Fernando Herrero
Browse files

Update README.md

parent e8c868a2
No related branches found
No related tags found
No related merge requests found
...@@ -67,6 +67,16 @@ To open new terminals on the same container (last container): ...@@ -67,6 +67,16 @@ To open new terminals on the same container (last container):
docker exec -it `docker ps -qn 1` /bin/bash docker exec -it `docker ps -qn 1` /bin/bash
``` ```
If you exit from all terminals, the container becomes exited and the previous command won't work, "Container is not running".
To start the last container again use:
```bash
docker start -a -i `docker ps -l -q`
```
This command uses the last created container. To use a different one, substitute the `` `docker ps -l -q` `` with the container ID or name, which can be retrieved with `docker container list -a`
## Disclaimer ## Disclaimer
Copyright (C) Institut de Robòtica i Informàtica Industrial, CSIC-UPC. Copyright (C) Institut de Robòtica i Informàtica Industrial, CSIC-UPC.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment