Howto:Docker scenery toolchain: Difference between revisions

Jump to navigation Jump to search
m
Switched params. -v doesn't work at the end in Windows
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 -t flightgear/terragear /bin/bash -v <host directory>:<docker directory>
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.
70

edits

Navigation menu