Docker Community Forums

Share and learn in the Docker community.

"docker run" of an official image on command prompt runs container of different user names


(Mamudragon) #1

Docker 17.06
Windows 10 Pro 64-bit laptop
kitematic

I downloaded official images of a company and ran it from command prompt.

docker run --network=container:abc xyz

In the “docker ps” and in kitematic, the container of “xyz” shows a container, of a different user name, say,“laughing_babbage” like that.

why is this behaviour? is this a namespace issue or windows issue or kitematic issue?


(Think) #2

that is the name of the container.
Docker will create a random, funny name if you do not specify a name for your container.
specify a name with e.g.: docker run --name abc xyz