diff options
author | Cristian Cezar Moisés <[email protected]> | 2024-10-20 20:14:54 +0000 |
---|---|---|
committer | Cristian Cezar Moisés <[email protected]> | 2024-10-20 20:14:54 +0000 |
commit | bbf27fb75d0e1ea6856057857b9267d7fb5c6cb5 (patch) | |
tree | 99533966b78e01e4298cdcb25d16b1e6409e7d3b /README.md | |
parent | c4d28f43343c27c936d8ed9a66e372c5340605cf (diff) |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -1,3 +1,17 @@ -# dockervm +# DOCKERVM +Just some docker commands to use docker like VmWare/Virtualbox -Docker VM
\ No newline at end of file +![image](https://github.com/cristiancmoises/dockervm/assets/86272521/ab87b45c-4139-4f58-b0da-04811fba3a46) + +# 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 |