Docker: Difference between revisions
From DWIKI
m (→Links) |
|||
Line 8: | Line 8: | ||
docker ps | docker ps | ||
==Get shell in container== | ==Get shell in running container== | ||
To get image name | To get image name | ||
docker ps | docker ps | ||
then | then | ||
docker | docker exec -it <image-id> bash | ||
==Backups== | ==Backups== | ||
*https://linuxconfig.org/docker-container-backup-and-recovery | *https://linuxconfig.org/docker-container-backup-and-recovery | ||
*[https://bobcares.com/blog/docker-backup/ Docker - Easy backup & restore] | *[https://bobcares.com/blog/docker-backup/ Docker - Easy backup & restore] |
Revision as of 15:07, 7 May 2019
Links
- Homepage
- https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-centos-7
- Docker for beginners
FAQ
List running containers
docker ps
Get shell in running container
To get image name
docker ps
then
docker exec -it <image-id> bash