Menu

Resolve Dockerfile Issues
📰

Resolve Dockerfile Issues

DEV Community: docker·Janak Shrestha·about 7 hours ago
#FdprgunW
#devtodocker#devto#dev#conf#httpd
Reading 0:00
15s threshold

The Nautilus DevOps team is working to create new images per requirements shared by the development team. One of the team members is working to create a Dockerfile on App Server 1 in Stratos DC . While working on it she ran into issues in which the docker build is failing and displaying errors. Look into the issue and fix it to build an image as per details mentioned below:

a. The Dockerfile is placed on App Server 1 under /opt/docker directory.

b. Fix the issues with this file and make sure it is able to build the image.

c. Do not change base image, any other valid configuration within Dockerfile, or any of the data been used — for example, index.html.

Note: Please note that once you click on FINISH button all the existing containers will be destroyed and new image will be built from your Dockerfile .

Connect to App Server 1

ssh tony@stapp01 sudo -i

Enter fullscreen mode

Exit fullscreen mode

Password for tony: Ir0nM@n

Inspect the Build Context

cd /opt/docker ls -la

Enter fullscreen mode

Exit…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.