SaveMojo: Add `docker.save.mode` option
See original GitHub issueDescription
As result of the discussion in https://github.com/fabric8io/docker-maven-plugin/issues/1197#issuecomment-485228687 it would be good to have an option docker.save.mode
with two possible values:
- daemon to use Docker save REST call in order to get an archive from a Doc ker daemon
- local to pick up the Docker archive as created by
docker:build
for sending it to the Docker daemon when creating an image.
docker.save.file
should in both cases point to the target file name under which the archive should be created.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:8
Top Results From Across the Web
docker save - Docker Documentation
docker save : Produces a tarred repository to the standard output stream. Contains all parent layers, and all tags + versions, or specified...
Read more >Saving, Loading, Downloading, and Uploading Models
This section describes how to save, load, download, and upload binary and MOJO models using R, Python, and Flow. Binary Models¶. When saving...
Read more >How To Use Docker Save Image and Export for Sharing
Next, run the command below to export the Docker container of your choice ( container-id ). Replace container-id with the container ID you...
Read more >How to Commit Changes to a Docker Image (With Example)
Save changes to a running Docker container and create new images now ... options instruct the container to launch in interactive mode and ......
Read more >Docker | IntelliJ IDEA Documentation - JetBrains
to add a Docker configuration and specify how to connect to the ... Save the file with the run configuration settings to share...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It would be really great to be able to build docker image without the need of a Docker Daemon
I agree, that we can split up this issue in two: One for docker:save and one for docker:build.
As docker:build is more important to you, I suggest to implement as described in https://github.com/fabric8io/docker-maven-plugin/issues/1197#issuecomment-482028662 and then move on to this issue.
I for sure don’t have the spare cycles to implement this feature, but I’m happy to help to integrate it (reviewing + merging).
So if you feel fancy, please send a PR.