Difference between revisions of "Zimwriterfs instructions"
Jump to navigation
Jump to search
Julianharty (talk | contribs) (Added known issues section and the known issue I know about :)) |
Julianharty (talk | contribs) (→Preparations: Added new section on using Docker) |
||
Line 11: | Line 11: | ||
[1] I added a shared folder so I could easily share data between the running Docker image and my macbook. This had to be configured using the command line. See https://github.com/rocker-org/rocker/wiki/Sharing-files-with-host-machine for tips on how to do this. | [1] I added a shared folder so I could easily share data between the running Docker image and my macbook. This had to be configured using the command line. See https://github.com/rocker-org/rocker/wiki/Sharing-files-with-host-machine for tips on how to do this. | ||
=== Configuring and Running Docker | |||
Again some qualifications: | |||
* I've limited experience in using Docker. | |||
* This worked for me but might need tweaking for others. | |||
* I use Kitematic (available in Docker) to obtain a shell in the running Docker image. | |||
Here's how to share the current folder with the Docker image. The shared folder is at <code>/Volumes/shared</code> in the running Docker image. | |||
<code> | |||
docker run -it -v $(pwd):/Volumes/shared -p 8888:8888 openzim/zimwriterfs | |||
</code> | |||
<code> | <code> |