DOCKER Course

WORKDIR

Go back

WORKDIR changes the current directory, with path the new directory.

WORKDIR path

Example

# cd /usr/folder on linux
WORKDIR /usr/folder