.PHONY: build-image push-image # Build the image for the Docker build-image: Dockerfile docker build --no-cache -t registry.lrde.epita.fr/tc-sid . # Run the image. Warning, all modifications will be removed # at exit. run-image: docker run -it registry.lrde.epita.fr/tc-sid # Assume you renamed the container using: # ` docker rename SOMENAME tc-private` # This is globally the only command you have to use once your docker # has been built. start: docker start tc-private docker attach tc-private