You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 10, 2020. It is now read-only.
This problem probably should have been addressed in #1019, but I didn't test down this path.
When the user does an atomic run of an image in interactive mode, subsequent uses of atomic run to run a one-off command will just execute that interactive container. In some cases, this is OK, but it runs into problems when you have the same image name on multiple registries or when the image has multiple tags.
# ./atomic run registry.fedoraproject.org/fedora:25
docker run -t -i --name fedora registry.fedoraproject.org/fedora:25 /usr/bin/bash
[root@932a9b4963be /]# grep PRETTY /etc/os-release
PRETTY_NAME="Fedora 25 (Twenty Five)"
[root@932a9b4963be /]# exit
exit
# ./atomic run registry.fedoraproject.org/fedora:25 date
fedora
Wed May 31 19:58:21 UTC 2017
# ./atomic run registry.fedoraproject.org/fedora:26 grep PRETTY /etc/os-release
PRETTY_NAME="Fedora 25 (Twenty Five)"
# ./atomic run registry.fedoraproject.org/fedora:26 date
Wed May 31 19:58:34 UTC 2017