Skip to content

zmagajna/docker-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-learning

git status <- check modified files
git add . <- to add modified files
git commit -m "<ADD YOUR MESSAGE>" <- to commit changes
git push <- to push changes

git pull <- to pull changes when someone else added adds code

DOCKER

docker-compose up -d --build <- start docker containes
docker-compose down <- stop docker containers
docker ps <- show all live containers
docker ps -a <- show all containers
docker logs -f containerid <- show logs
ctrl+c
docker build -> builds a new image from the source code.
docker create -> creates a writeable container from the image and prepares it for running.
docker run  -> creates the container (same as docker create) and runs it

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published