November 2018
Intermediate to advanced
566 pages
17h 15m
English
To build a Docker image automatically with the instructions from a Dockerfile, follow these steps:
PS> vim Dockerfile
FROM centos:latestMAINTAINER powershellsql@gmail.comRUN yum install wget -yRUN wget --directory-prefix=/etc/yum.repos.d/ https://packages.microsoft.com/config/rhel/7/prod.repoRUN yum install powershell -yCMD /usr/bin/pwsh
# docker build --tag packtpubdemo ....Successfully ...
Read now
Unlock full access