Using docker in Slackware
I just started trying to use ACRCloud. I began by downloading http://get.docker.com. That returned a script that returns 'Unsupported distribution Slackware' Is there a way to make it work?
|
Slackbuilds.org has docker as does Ponce's cache of SlackBuilds for -current.
|
Note that you probably want "docker-cli" too: The "docker" package on SBo only gives the daemon, but you need the cli package to actually use it interactively.
|
Code:
./containerd/containerd.SlackBuild Quote:
Code:
docker/docker.SlackBuild Quote:
Later: I created a devmapper.pc in /usr/local/lib/pkgconfig which got rid of this error. Even after installing the missing golang packages above I still get the errors. |
Not precisely sure what the issue is, but looks like you are trying to use the gcc-go toolchain, which I dont believe is sufficient? I've built docker recently using both the google-go-lang SBo (1.13.10), and more recently using the pre-built go package (go1.15.7.linux-amd64.tar.gz from the go website). Had no issues. Just FYI incase you are missing anything else, the dependency's and required packages are below -
Code:
docker-cli |
When you changed to root for the build did you do " su - " or simply "su" ??? You need su - or GO will go belly up. From your error message that looks like what happened.
|
Quote:
Code:
runc/runc.SlackBuild Quote:
|
please read the README of google-go-lang: after having installed that you have to logout from your root shell and relogin again with "su -" before building the packages that depend on it, like 3rensho told you.
if you don't do that you won't source the filew that it installs in /etc/profile.d and you will keep using the gcc's go compiler, that way the build of runc will fail. |
Quote:
Quote:
|
I built everything, but when I start docker I find this in /var/log/docker.log:
Quote:
|
Odd, I'm not seeing that on -current with docker from SBo. How did you build it exactly (and how are you starting it?)
|
I may have built it out of order; I may have not-installed a package after building it; I built some of them without logging out then back in; I built them with gcc-go still installed; I built them without removing the /tmp/SBo files of previous packages - could any of that have caused the problem?
I removed all of them and gcc-go and am now rebuilding them in correct (I hope) order, deleting the previous package's file first. I run /etc/rc.d/rc.docker start. Just finished: same result. |
I don't know, the "/tmp/SBo/" in /var/logs/docker.log is strange though, sounds like some sort of build issue. I just go:
Code:
sboinstall docker-cli |
I tried compiling SBO Docker, but runc will not causing it to stop / end the process. I've had it running before on a clean install months ago, but it looks like runc was updated since then.
|
Quote:
libseccomp-2.5.1 runc-1.0.0_rc92 containerd-1.4.3 tini-0.19.0 docker-proxy-20210119_448016e docker-20.10.2 docker-cli-20.10.2 |
All times are GMT -5. The time now is 04:32 PM. |