Command format:
docker export [options] container
Example:
docker export -o nginx-test.tar nginx-test
where -o means Output to a file, nginx-test.tar is the target file, and nginx-test is the source container name (name).
Recommended tutorial: docker tutorial
The above is the detailed content of How to export docker image. For more information, please follow other related articles on the PHP Chinese website!