matyuschenko
8/29/2018 - 3:10 PM

Docker Cheatsheet

docker container ls
docker container ls -a

# login into registry — required only once, then stored in config
docker login -u <login> -p "<password>" <server>

docker build -t <path>:<tag> .
docker push <name>:<tag>
# e.g.:
docker build -t <server>/<prefix>/<repository>:v0.1 .
docker push <server>/<prefix>/<repository>:v0.1