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

Is it possible to run portioner agent container in docker swarm network and still use the host network #215

Open
pineshmenat opened this issue Nov 12, 2021 · 1 comment

Comments

@pineshmenat
Copy link

I have docker swarm network which is for some other purpose and I don't want portainer agent to start in cluster mode. Right now when I start portainer agent it starts in cluster mode and it fails to retrieve local agent IP address and fails to retrieve agent address on which it can advertise

Is there a way I can do this without doing docker swarm leave

@huib-portainer
Copy link

You could try removing the global mode from the yaml and switching the network from overlay to bridge.
But I haven't tried that myself.

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