docker-evolve-0.1.0
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | docker-evolve-0.1.0 |
| نام | docker-evolve |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Niklas Rosenstein |
| ایمیل نویسنده | rosensteinniklas@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/docker-evolve/ |
| مجوز | MIT |
# 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.
نیازمندی
| مقدار | نام |
|---|---|
| >=1.10.6,<2.0.0 | docker-py |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl docker-evolve-0.1.0:
pip install docker-evolve-0.1.0.whl
نصب پکیج tar.gz docker-evolve-0.1.0:
pip install docker-evolve-0.1.0.tar.gz