Finalize docker export capabilities
See original GitHub issueFeature description:
Finalize capabilities to export an opyrator to a Docker image.
The export can be executed via command line:
opyrator export my_opyrator:hello_world --format=docker my-opyrator-image:latest
💡 The Docker export requires that Docker is installed on your machine.
After the successful export, the Docker image can be run as shown below:
docker run -p 8080:8080 my-opyrator-image:latest
Running your Opyrator within this Docker image has the advantage that only a single port is required to be exposed. The separation between UI and API is done via URL paths: http://localhost:8080/api
(API); http://localhost:8080/ui
(UI). The UI is automatically configured to use the API for all function calls.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:12
- Comments:5 (2 by maintainers)
Top Results From Across the Web
docker container export
docker container export, Export a container's filesystem as a tar archive. docker container inspect, Display detailed information on one or more containers.
Read more >docker export - Docker Documentation
The docker export command does not export the contents of volumes associated with the container. If a volume is mounted on top of...
Read more >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 `repo:tag`, ......
Read more >docker build - Docker Documentation
For example, custom exporters allow you to export the build artifacts as files on the local filesystem instead of a Docker image, which...
Read more >docker buildx build
Sets the export action for the build result. In docker build all builds finish by creating a container image and exporting it to...
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
@dleunji the Docker export is not ready yet for release 😦 But we have prioritized this feature and will update this issue as soon as it is ready for usage.
Hi, I want to collaborate on this issue, can you tell me if the logic for exporting the docker would be acceptable?
pip freeze
to a requirements filefrom
pythonopyrator launch-ui
andopyrator-launch-api
(2 ports open on the docker8080
and8051
)