blob: 383e6da00c373808cb843385559e9b0c60d8acd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# ACCESS THE SYSTEM IN THE CONTAINER
docker run -it IMAGE_ID_HERE /bin/bash
# START ALL STOPPED CONTAINERS
docker start $(docker ps -a -q --filter "status=exited")
# RUN THE LAST STOPPED CONTAINER:
docker start -a -i 'docker ps -q -l'
# LIST ALL IMAGES
docker images
# LIST ALL CONTAINERS
docker ps -a
# RE-ACCESS THE SYSTEMS
docker exec -it CONTAINER_ID_HERE /bin/bash
|