I know that when you use, for example, docker commit abcdefgh ola/minhaimagem:1.0
you are saving your changes from the abcdefgh container into a new image to use it again futurely. However, i noticed that sometimes the commit runs very slow and that fact arised the question in my mind, what does exactly is happening while the commit is running? I mean, what is happening under the hood?
相关问题
- Docker task in Azure devops won't accept "$(pw
- Unable to run mariadb when mount volume
- Unspecified error (0x80004005) while running a Doc
- What would prevent code running in a Docker contai
- How to reload apache in php-apache docker containe
As mentioned in
docker commit
:That step (waiting for the processes to pause) can take time.
You can see the actual commit call in
api/server/router/image/image_routes.go#postCommit()
which is then routed through a backend todaemon/commit.go#Commit()