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
Built Distribution
File details
Details for the file docker-evolve-0.1.0.tar.gz
.
File metadata
- Download URL: docker-evolve-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 956957e05bea815e783d04b2db5de9b4cb2fc464cf93f89646c8b30abeb5d30c |
|
MD5 | 3cb9a2da96e18939761cddf1f16d6b05 |
|
BLAKE2b-256 | 077dcc0904b790366a0c02233a1d073b38066b309f0e5e528d8e1226aa707b39 |
File details
Details for the file docker_evolve-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: docker_evolve-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e1a2f0305aa40bc3e845c01917f51cd7044f9165376da5972139f9afdf759ad |
|
MD5 | 44a791e896ee1399526a3544c4f65069 |
|
BLAKE2b-256 | ba9e5a0a545a4a8de3fcdef912a6c83d2be30386d66404c0316ad63a7ca59080 |