This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// just the general docker command learned so foar | |
docker version | |
cocker info | |
docker container ls or docker ps // list container active | |
docker container ls -a // list all container | |
docker container run -it -p 80:80 nginx // ex create container nginx. run is to install create container from local cache or pull from hub. -it mean interactive , | |
docker exec -it <CONTAINER_ID> bash // access command line of container | |
docker container rm 96a [id2] [id3] // to remove docker container is to docker rm <first-3digit-id-image-here> |
NewerOlder