zim-tools | Various ZIM command line tools | Continuous Deployment library
kandi X-RAY | zim-tools Summary
kandi X-RAY | zim-tools Summary
Various ZIM command line tools
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of zim-tools
zim-tools Key Features
zim-tools Examples and Code Snippets
Community Discussions
Trending Discussions on zim-tools
QUESTION
I'm building a Docker Image from the Dockerfile on Windows 10. I download the Docker file from here and put in the directory F:\zimtools\Dockerfile
.
The content of the file is
...ANSWER
Answered 2021-Apr-20 at 14:44To build your docker image:
cd
to your path where thedockerfile
is (In your case it'sF:\zimtools\
)docker build .
This is similar to this command docker build -f Dockerfile .
You need to specify the Dockerfile
name only when it's not default:
cd
to your path where thedockerfile
is (In your case it'sF:\zimtools\
)docker build -f .
QUESTION
I'm using Docker on Windows 10 for openzim/zim-tools. Then I want to use the command zimDump [options] zimfile
, i.e.,
ANSWER
Answered 2021-Apr-05 at 06:22You are trying to execute the zimDump
in a container that has stopped. You can see that the container is stopped from the status Exited 0
. The reasons is that the container doesn't initiate a daemon as it's entry point, rather it only provide the tools, so better approach would be to use run
with --rm
to run instance of the container during the execution of the command, and to delete the container when the execution has finished. Depending on the nature of the commands executed, you might need to mount local folders as volumes to the image so the commands in the image have access to the files you want to process.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install zim-tools
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page