Skip to content

Instantly share code, notes, and snippets.

View seksitha's full-sized avatar
🎯
Focusing

Sitha Sek seksitha

🎯
Focusing
View GitHub Profile
@seksitha
seksitha / docker.bash
Last active March 21, 2020 10:00
git command line
// 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>