Complete the Dockerfile line to set the working directory to /app.
WORKDIR [1]The WORKDIR instruction sets the working directory inside the container. Using /app sets it to the /app folder.
Complete the Dockerfile to set the working directory to a folder named 'src' inside /usr.
WORKDIR [1]The WORKDIR /usr/src sets the working directory to the src folder inside /usr.
Fix the error in this Dockerfile line to set the working directory to /data.
WORKDIR [1]The WORKDIR path must be absolute in Linux containers. /data is correct. data or ./data are relative and cause errors. C:/data is a Windows path and invalid here.
Fill both blanks to set the working directory to /var/www/html.
WORKDIR /[1]/[2]
The path /var/www/html is built by joining var and www in the first two blanks. The last folder html is missing here because only two blanks are asked.
Fill all three blanks to set the working directory to /opt/project/src.
WORKDIR /[1]/[2]/[3]
The full path /opt/project/src is built by filling blanks with opt, project, and src respectively.