I really don’t see the point of this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04
Since it relies on a docker pull ubuntu image, where can I edit that Dockerfile to customize it further? Shouldn’t you typically rely on a Dockerfile for docker containers? The tutorial mentions that Dockerfiles are “beyond the scope” of the tutorial which I just find odd.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @alxvallejo,
In this case, the Docker image is already builded from a Dockerfile, and stored on the Docker hub platform.
When you run the pull command, Docker will just download the latest image of “ubuntu” from https://hub.docker.com/_/ubuntu/
If you click the “xenial/Dockerfile” link on this page, you will see the actual Dockerfile used to build the image.
If you need to customize this image, you should create a Dockerfile, with the first line:
FROM ubuntu
Then you can add all your customizations.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.