70
edits
m (→Docker scenery toolchain image: spelling) |
Portreekid (talk | contribs) m (Switched params. -v doesn't work at the end in Windows) |
||
Line 43: | Line 43: | ||
<syntaxhighlight lang="shell"> | <syntaxhighlight lang="shell"> | ||
docker run -i | docker run -i -v <host directory>:<docker directory>-t flightgear/terragear /bin/bash | ||
</syntaxhighlight> | </syntaxhighlight> | ||
where <code><host directory></code> is the directory on your computer that's mounted into the container and <code><docker directory></code> is the directory where the computers directory is mounted in. Then to copy files into the docker container, simply move them into the <code><host directory></code> on the host operating system and you'll find them in the <code><docker directory></code> in the docker container. | where <code><host directory></code> is the directory on your computer that's mounted into the container and <code><docker directory></code> is the directory where the computers directory is mounted in. Then to copy files into the docker container, simply move them into the <code><host directory></code> on the host operating system and you'll find them in the <code><docker directory></code> in the docker container. |
edits