The Dockerfile
is for creating images not containers.
You can now give names to your containers using the new --name
flag for docker run
.
If --name
is not provided Docker will automatically generate an alphanumeric string for the container name.