Skip to content

Can’t exec shell into the container #6

Open
@klaute

Description

@klaute

Hi,

I‘m facing some problems using the project.
I can‘t exec a shell into the container.

root@host $ ps | grep influxdb
e109955c26b6   grafana/grafana:latest       "/run.sh"                6 days ago     Up 6 days             0.0.0.0:3000->3000/tcp, :::3000->3000/tcp                                              influxdb-grafana-grafana-1
b72fcc84424d   influxdb:latest              "/entrypoint.sh infl…"   6 days ago     Up 6 days             0.0.0.0:8086->8086/tcp, :::8086->8086/tcp                                              influxdb-grafana-influxdb-1

root@host $ docker-compose exec e109955c26b6 /bin/sh
service "e109955c26b6" is not running container #1

The InfluxDB and also the grafana server are both accessible over network.

I have modified the docker-compose file to fix the InfluxDB storage folder to the following setting:

volumes:
������    - ./influxdb-storage:/var/lib/influxdb

But the folder is empty, as before. Also after I have removed the docker container and rebuild it.

This is the reason I try to exec a shell into the container. To debug why the folder is empty. For the grafana storage folder the data is available.

I also tried to execute /bin/bash and other binaries without success.

And I‘m facing the same problem for the grafana container.

The logs do not show up any error message.

I‘m running the container on a Orange Pi One running the latest armbian.

Maybe I can get some support here?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions