Docker is cool.
FROM is needed at the top of the Dockerfile, this specifies the image you’re building on.
RUN will run a shell command at image-build-time. Use these sparingly, to reduce the amount of layers created.
Need to tag the image in your dockerhub username
docker build -t younata/my-image .
Need to login:
docker push younata/my-image:latest
Last updated: 2019-04-14 15:34:07 -0700