docker rm -f myubuntu docker run -tid --name myubuntu ubuntu:latest docker exec -ti myubuntu sh apt-get update apt-get install nano exit