Lab 2: Create an image with ADD instruction
Creating Dockerfile
FROM alpine:3.5
RUN apk update
ADD http://www.vlsitechnology.org/pharosc_8.4.tar.gz .Build Docker Image
docker build -t microfocus/alpine-add . -f <name of dockerfile>Tagging image as labs-git
docker tag microfocus/alpine-add microfocus/labs-add:v1.0Verify the Images
docker imagesCreate a container
docker run -itd microfocus/labs-add:v1.0 /bin/shdocker psEnter into Container Shell
docker attach <<ContainerID>>Verify if the link has been extracted onto the container
Last updated