docker-compose build --build-arg VERSION=latest
docker-compose up -d --no-build
docker ps -a
Get the container id. it's the first column
or
docker container ls -a
Get the container id. it's the first column
docker rm <containerid> <containerid> <containerid>
or
docker container rm <containerid> <containerid> <containerid>
docker images
get the image id
docker rmi <imageid>
or
docker image rm <imageid> <imageid> <imageid>
Tag your source local image as remote image that includes <dockerhub account>/<image name or repo name>:<tag name>
docker tag ms-java8:latest srimani/ms-java8:latest
docker push srimani/ms-java8:latest
docker push srimani/ms-java13:latest-onbuild