If the WORKDIR command is not written in the Dockerfile, it will automatically be created by the Docker compiler. Hence, it can be said that the command performs mkdir and cd implicitly.
What is the WORKDIR command in Docker? was last modified: December 2nd, 2020 by