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

docker-compose up -d failing.. #16

Open
pnunn opened this issue Dec 6, 2022 · 1 comment
Open

docker-compose up -d failing.. #16

pnunn opened this issue Dec 6, 2022 · 1 comment

Comments

@pnunn
Copy link

pnunn commented Dec 6, 2022

Successfully tagged speedy_influxdb:latest
WARNING: Image for service influxdb was built because it did not already exist. To rebuild this image you must use docker-compose build or docker-compose up --build.
Building grafana
Step 1/9 : FROM grafana/grafana:latest
latest: Pulling from grafana/grafana
9621f1afde84: Pull complete
5754dc33531e: Pull complete
75f4a274130b: Pull complete
ba47017ee971: Pull complete
17f844606bf9: Pull complete
321130b17972: Pull complete
f1b823eb9de1: Pull complete
c0b24abe3b30: Pull complete
8200e0f87cb3: Pull complete
Digest: sha256:8c65b333a3d369a095d752da2e784b484d4246659e9a4ac6a09b74353f95d1c9
Status: Downloaded newer image for grafana/grafana:latest
---> 179ad45e2c74
Step 2/9 : MAINTAINER Stefan Walther [email protected]
---> Running in 7df6b2b8fd47
Removing intermediate container 7df6b2b8fd47
---> 42540d632780
Step 3/9 : RUN apt-get update && apt-get install -y curl gettext-base && rm -rf /var/lib/apt/lists/*
---> Running in a4fecd5f94f9
/bin/sh: apt-get: not found
ERROR: Service 'grafana' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y curl gettext-base && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 127

Seems the grafana image no longer has apt in it? I tried with the version in the git docker compose file, but that failed in the same way so thought I'd try latest to see if that worked. It didn't.

@jiripech
Copy link

Since grafana is based on Alpine and Alpine is a busybox based distribution, it seems we have to use the right package manager (apk, I suppose). Not sure I can fix this today, but will definitely look into it when my standard errands are finished.

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

2 participants