No project description provided
Project description
docker-evolve
Keep evolving a container's state to effectively use it as a constant subsystem.
Usage
Start with a new container:
$ docker-evolve –-name ubuntu --base-image ubuntu -v $PWD:/host
Connect to the container as usual:
$ docker exec -it ubuntu bash
After making changes that you want to persist but you need to update the container
configuration, for example to expose a port, pass the parameters to docker-evolve
:
$ docker-evolve --name ubuntu -v $PWD:/host -p 8090:8090
This will commit the container's current state and re-create it using the new image
and the specified arguments. Note how you can now skip the --base-image
argument
because the container already exists.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
docker-evolve-0.1.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for docker_evolve-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e1a2f0305aa40bc3e845c01917f51cd7044f9165376da5972139f9afdf759ad |
|
MD5 | 44a791e896ee1399526a3544c4f65069 |
|
BLAKE2b-256 | ba9e5a0a545a4a8de3fcdef912a6c83d2be30386d66404c0316ad63a7ca59080 |