-
Notifications
You must be signed in to change notification settings - Fork 379
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
docker-init location under snap install #51
Comments
The work-around was to create a symbolic link to docker-init in /home/james/.local/share/x11docker but name the link tini-static. |
Thank you for reporting this!
That is a good approach in general. Maybe it fails because docker has issues with shared symlinks. I could check with
It's a bit confusing - the docker binary is called It may be the best if I check for |
I'm not sure yet either .. It is my first time using it. I could not find docker on debian using apt.. It was in snap though. Time to learn more about it.. Snap is installable using apt on debian.. |
One idea - does I have hard-coded |
neither work |
As a workaround I could include something like: |
Good idea.. you have "current" # ls -l /snap/docker/*
lrwxrwxrwx 1 root root 3 Jun 27 17:19 /snap/docker/current -> 179
/snap/docker/179:
total 5
drwxr-xr-x 2 root root 376 Sep 21 2017 bin
-rwxr-xr-x 1 root root 552 Sep 21 2017 command-compose.wrapper
-rwxr-xr-x 1 root root 538 Sep 21 2017 command-dockerd.wrapper
-rwxr-xr-x 1 root root 544 Sep 21 2017 command-docker.wrapper
-rwxr-xr-x 1 root root 527 Sep 21 2017 command-help.wrapper
-rwxr-xr-x 1 root root 552 Sep 21 2017 command-machine.wrapper
drwxr-xr-x 4 root root 86 Sep 21 2017 etc
drwxr-xr-x 4 root root 56 Sep 21 2017 lib
drwxr-xr-x 3 root root 43 Sep 21 2017 meta
drwxr-xr-x 2 root root 126 Sep 21 2017 sbin
drwxr-xr-x 3 root root 30 Sep 21 2017 snap
drwxr-xr-x 6 root root 86 May 19 2017 usr |
I have uploaded an update to master that looks for |
works fine .. thank you |
@jcalfee although you already had it solved in a different way, I suggest you use https://docs.docker.com/install/linux/docker-ce/debian/#prerequisites in the future if you want to get latest updates from docker in a "more traditional" way. See https://askubuntu.com/questions/906289/docker-ce-or-docker-io-package |
Thanks .. Do you know how I might check up on the docker release to make sure it does not require binary blobs or require close-source tools (like a compiler) to build it? |
AFAIK all the docker-ce builds for linux hosts are open-source and free, but I am not sure about binaries being free software. Most, if not all, of it should be built on top of repos corresponding to the Moby project, only the CLI being Docker-specific. Closed source parts might be found in the docker-ee version and/or in the builds for either windows or macos. Also, the hub is not open-source. See https://opensource.stackexchange.com/questions/5436/is-docker-still-free-and-open-source and https://news.ycombinator.com/item?id=14156954. Furthermore, Docker and Moby are entirely written in golang, so no closed-source tools should be required. However, being sincere, I don't know how can you check/proof it, should you need to do so. I suggest you have a look at https://github.com/docker/docker-ce/ and maybe open an issue at https://github.com/docker/for-linux. If you do it, please link back here. I'd be really glad to know if there is any real difference in how |
debian provides package docker.io in jessie-backports and in debian 10/buster/testing. I don't know for which reasons docker was not included in stretch-stable. Maybe there has been security issues during the freeze phase before stretch-testing became stretch-stable. At least there seems to be no general preconceiving to provide docker as a debian package due to debian guidelines of open and free software. Only since about a week docker.io is part of buster/testing as can be seen in the developer informations. Maybe it will find its way into stretch-backports soon. |
Here is a list of patches made by debian maintainers: https://sources.debian.org/patches/docker.io/18.03.1+dfsg1-4/ I don't understand all of them, but they are few and look rather harmless. |
I just did a snap docker install on Debian 9 ..
The docker-init file is here:
/snap/docker/179/bin/docker-init
x11docker script does not find it:
The text was updated successfully, but these errors were encountered: