Quay Documentation
docs.quay.io › solution › getting-started$ docker run ubuntu echo "fun" > newfile The container will immediately terminate (because its one command is echo ), so we’ll use docker ps -l to list it: $ docker ps -l CONTAINER ID IMAGE COMMAND CREATED 07f2065197ef ubuntu:12.04 echo fun 31 seconds ago