What is Dockerfile? How to create Dockerfile?
Автор: MLA Automation
Загружено: 2021-01-26
Просмотров: 50
Описание:
In this tutorial we going to take a look on Dockerfile and try to answer on questions:
What is Dockerfile ?
Dockerfiles are text documents that allow you to build images for Docker. So the Dockerfile is essentially the build instructions to build the image.
How to create Dockerfile?
-- commands --------
cd location where to save file
mkdir DockerFiles
touch Dockerfile
----------------------------------
-- Inside Dockerfile --
FROM ubuntu
MAINTAINER mla
RUN apt-get update
CMD ["echo", "This is first message from Dockerfile"]
---------------------------------
List of instructions allowing to use in Dockerfile:
https://kapeli.com/cheat_sheets/Docke...
How to use Dockerfile?
-- commands --
docker build -t mlaimage:1.0 .
docker run image
DOCKER PLAYLIST:
• Docker
--------------------------------------------------------
SUBSCRIBE TO CHANNEL:
/ @mlaautomation6888
Facebook - https://www.facebook.com/profile.php?...
Twitter - / kachalov2010
Don't forget pls to click on 'Like', its giving additional motivation to work on channel.
Thank you for watching, for subscription and see you soon.
#mlaautomation #docker #dockerfile #guide #tutorial #windows #beginner
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: