Skip to content
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

can't run docker-compose because libz.so.1 doesn't like something about /tmp #27

Closed
2 tasks done
airtonix opened this issue Oct 7, 2020 · 1 comment
Closed
2 tasks done

Comments

@airtonix
Copy link

airtonix commented Oct 7, 2020

docker-compose
docker-compose: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

Attempts to fix it

  1. do something about /tmp
    outcome: doesn't work
sudo mount /tmp -o remount,exec
[sudo] password for zenobius:
mount: /tmp: mount point not mounted or bad option.
  1. try telling docker-compose to use another tmp directory:
    outcome: doesn't work
  1. completely remove docker and the alpine-pkg-glibc and just use standard alpine docker packages:
    outcome: works
sudo apk del dockersudo apk del glibcsudo rm /usr/local/bin/docker-compose*sudo apk add --update docker
...docker system info | grep "Operating System"
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Operating System: Docker Desktopsudo pip3 install docker-compose --force-reinstall
...

info

Installed docker via this process:

and:

$ sudo apk add --update docker

Investigation efforts:

cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.9.0
PRETTY_NAME="Alpine Linux v3.9"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"
@airtonix
Copy link
Author

airtonix commented Oct 7, 2020

Solved it:

  • don't use non standard glibc install
  • use docker pkg in community repo.
  • pip3 install docker-compose
❯ sudo apk add --update docker
...
❯ docker system info | grep "Operating System"
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Operating System: Docker Desktop

❯ sudo pip3 install docker-compose --force-reinstall
...

@airtonix airtonix closed this as completed Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant