[Bug 1056078] New: There is no '/usr/bin/docker-proxy' for docker-17.04.0_ce-211.1
http://bugzilla.suse.com/show_bug.cgi?id=1056078 Bug ID: 1056078 Summary: There is no '/usr/bin/docker-proxy' for docker-17.04.0_ce-211.1 Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Virtualization:Other Assignee: virt-bugs@suse.de Reporter: pgeorgiadis@suse.com QA Contact: qa-bugs@suse.de CC: vrothberg@suse.com Found By: --- Blocker: --- When I tried to run a docker container using port-forward (-p option) I got the following error:
skyrim:~/gitlab/qam_reposervice # docker run -it --rm --name reposervice -p 9000:9000 -h reposervice reposervice:v1 docker: Error response from daemon: driver failed programming external connectivity on endpoint reposervice (3c7526a29c0c69e9f519a2c4993a254004e66ce0b1b5f9c7daac03f982d486fc): exec: "docker-proxy": executable file not found in $PATH.
According to 'zypper' this should be there:
skyrim:~/gitlab/qam_reposervice # cnf docker-proxy
The program 'docker-proxy' can be found in following packages: * docker [ path: /usr/bin/docker-proxy, repository: zypp (repo-oss) ] * docker [ path: /usr/bin/docker-proxy, repository: zypp (Virtualization:containers) ] * docker-libnetwork [ path: /usr/bin/docker-proxy, repository: zypp (Virtualization:containers) ]
Try installing with: zypper install
But indeed, there is no such binary:
skyrim:~/gitlab/qam_reposervice # ls -l /usr/bin/docker-proxy ls: cannot access '/usr/bin/docker-proxy': No such file or directory
The currently installed version in my system comes from 'Virtualization:containers' and it is:
skyrim:~/gitlab/qam_reposervice # rpm -q docker docker-17.04.0_ce-211.1.x86_64
Workaround: ----------- Install a previous version of docker. The binary can be found there. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1056078
Panagiotis Georgiadis
http://bugzilla.suse.com/show_bug.cgi?id=1056078
Aleksa Sarai
http://bugzilla.suse.com/show_bug.cgi?id=1056078
http://bugzilla.suse.com/show_bug.cgi?id=1056078#c1
--- Comment #1 from Aleksa Sarai
http://bugzilla.suse.com/show_bug.cgi?id=1056078
http://bugzilla.suse.com/show_bug.cgi?id=1056078#c2
--- Comment #2 from Panagiotis Georgiadis
Requires: docker-libnetwork = 0.0.0+git20170119.7b2b1fe
and I have it installed:
docker-libnetwork-0.0.0+git20170119.7b2b1fe-11.3.x86_64
and it seems that this package is responsible for this binary:
froh:~ # rpm -ql docker-libnetwork /usr/bin/docker-proxy
But still:
froh:~ # ls -l /usr/bin/docker-proxy ls: cannot access '/usr/bin/docker-proxy': No such file or directory
If I downgrade to the opensuse official repo version of Docker, this binary comes from Docker pkg:
File /usr/bin/docker-proxy from install of docker-1.12.6-30.3.2.x86_64 (openSUSE-Leap-42.2-Update) conflicts with file from package docker-libnetwork-0.0.0+git20170119.7b2b1fe-11.3.x86_64 (@System)
froh:~ # ls -l /usr/bin/docker-proxy -rwxr-xr-x 1 root root 2647624 Jul 11 11:07 /usr/bin/docker-proxy froh:~ # rpm -qf /usr/bin/docker-proxy docker-1.12.6-30.3.2.x86_64
So, it seems that while I upgraded my system (dup --from Virtualization:containers) that binary became inactive due to this conflict. The solution is to re-install the docker-libnetwork with `force`.
froh:~ # ls -l /usr/bin/docker-proxy -rwxr-xr-x 1 root root 1746272 Jul 17 14:19 /usr/bin/docker-proxy froh:~ # rpm -qf /usr/bin/docker-proxy docker-libnetwork-0.0.0+git20170119.7b2b1fe-11.3.x86_64
That has been said, please feel free to close this bug as invalid. I assume that most people will encounter this issue, however zypper gives you a fair warning about that. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1056078
http://bugzilla.suse.com/show_bug.cgi?id=1056078#c3
Flavio Castelli
participants (1)
-
bugzilla_noreply@novell.com