Open zafrirron opened 2 years ago
Pl confirm if an agent is running on ce-2.9.0 as well, i am using 2.9.0 for portainer as well as agent on same machine
I have
Are you running the agent version 2.9.0 with a bind mount like:
volumes:
- /:/host
I had the same in 2.20.3
. This is not a bug but misinformation. In documentation everything is clear, need to mount /host/
in your Portainer agent.
I think, instead of putting an error message, there should be clear information in Portainer GUI on how to do it e.g.
Enable host management features
feature - more detailsFailure Open /host no such file or directory
- should be Directory /host
not found - please make sure you have read the documentation / make sure the agent has mounted /host directory ...
Bug description After enabling host managemnt features, trying to acess "Browse" error message: Failure open /host: no such file or directory
Expected behavior A clear and concise description of what you expected to happen.
Portainer Logs Provide the logs of your Portainer container or Service. You can see how here (Logs how to link is broken....)
Steps to reproduce the issue:
Technical details:
Portainer version: 2.9.0
Docker version (managed by Portainer): 20.10..8
Kubernetes version (managed by Portainer):
Platform (windows/linux): linux containers on windows
Command used to start Portainer (
docker run -p 9443:9443 portainer/portainer
): docker run -d -p 8000:8000 -p 9000:9000 -p 9443:9443 \ --name=portainer --restart=always \ -v /var/run/docker.sock:/var/run/docker.sock \ -v portainer_data:/data \ portainer/portainer-ce:2.9.0Browser: Chrome
Use Case (delete as appropriate): Using Portainer at Home, Using Portainer in a Commerical setup. Using Portainer at Home,
Have you reviewed our technical documentation and knowledge base? Yes/No Yes
Additional context Add any other context about the problem here.