Hi, everybody.
I want to do a thing in the container.
But in order not to break anything I want to make a backup and make a copy of the container. On it to try and make the combat container.
Is it right to do so:
1) back Up Docker container:
docker commit -p 78727078a04 backup_war_docker_container1:13052019
docker save -o backup_war_docker_container.tar var_container
2) Run the container from the image created in step 2:
docker run -it IMAGE ID /bin/bash
3) If on combat container something not so, then recover:
docker load -i backup_war_docker_container.tar
I want to do a thing in the container.
But in order not to break anything I want to make a backup and make a copy of the container. On it to try and make the combat container.
Is it right to do so:
1) back Up Docker container:
docker commit -p 78727078a04 backup_war_docker_container1:13052019
docker save -o backup_war_docker_container.tar var_container
2) Run the container from the image created in step 2:
docker run -it IMAGE ID /bin/bash
3) If on combat container something not so, then recover:
docker load -i backup_war_docker_container.tar