apt-get in docker code example Example: docker ubuntu installation $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -