New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When commiting an image with changes the running container also changes #29547
Labels
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
version/1.12
Comments
cpuguy83
added
the
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
label
Dec 19, 2016
Confirmed |
xianlubird
pushed a commit
to xianlubird/docker
that referenced
this issue
Dec 23, 2016
Fix moby#29547 Signed-off-by: Alexander Morozov <lk4d4@docker.com>
vdemeester
pushed a commit
to vieux/docker
that referenced
this issue
Jan 4, 2017
Fix moby#29547 Signed-off-by: Alexander Morozov <lk4d4@docker.com> (cherry picked from commit ca6c6f0) Signed-off-by: Victor Vieux <vieux@docker.com>
runcom
pushed a commit
to projectatomic/docker
that referenced
this issue
May 12, 2017
Fix moby#29547 Fix https://bugzilla.redhat.com/show_bug.cgi?id=1450221 Upstream reference: moby@428ae70 Signed-off-by: Alexander Morozov <lk4d4@docker.com> (cherry picked from commit ca6c6f0) Signed-off-by: Victor Vieux <vieux@docker.com>
liusdu
pushed a commit
to liusdu/moby
that referenced
this issue
Oct 30, 2017
Fix moby#29547 Cherry-pick from moby#29550 Signed-off-by: Alexander Morozov <lk4d4@docker.com> Signed-off-by: majiuyue 00385406 <majiuyue@huawei.com>
liusdu
pushed a commit
to liusdu/moby
that referenced
this issue
Oct 30, 2017
[IT-1.11.2] Do not change container labels on commit **Issue** upstream moby#29547 moby#29547 **Description** When commiting an image with changes (ie labels) the running container's labels are also changed. **Steps to reproduce the issue:** ``` docker run -d --label some=label centos:7 docker commit --change "LABEL some=label2" ${c_id} my/image docker inspect ${c_id} ``` ---- Cherry-pick from moby#29550 See merge request docker/docker!305
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
version/1.12
Description
When commiting an image with changes (ie labels) the running container's labels are also changed.
Steps to reproduce the issue:
docker run -d --label some=label centos:7
docker commit --change "LABEL some=label2" ${c_id} my/image
docker inspect ${c_id}
Describe the results you received:
The running container's labels are also changed.
Describe the results you expected:
The running container does not change.
Output of
docker version
:Output of
docker info
:The text was updated successfully, but these errors were encountered: