-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Cannot save mutiple hosts file entries under advanced network setup #1855
Comments
I started a new container hello-world:linux and added the following two records config.management.local:10.22.8.9 When the container started it only persisted the first record so I went in and added the second record again and it still did not persist it. I am running the docker host on a fully patched Ubuntu 16.04 Azure VM (DSv2) with 18.03.1-ce installed. If you cant recreate it, its probably just my environment, it just seems strange, |
What do you mean by that? Did you alter the container manually? |
I added the second host name via the UI again and redeployed the container and it still not add the second value. |
@ollieatseats via the container creation of container edition ? |
Ah, so this is related to container-edition ! I'll investigate. |
Bug description
The UI allows me to add multiple host file entries under the advanced network setup but when I save and provision the container is only saves and applies the first host file entry and all other entries are lost.
Expected behavior
The ability to define multiple host file entries and for them to be saved to the running docker container and then displayed in the UI.
Steps to reproduce the issue:
Steps to reproduce the behavior:
Technical details:
docker run -p 9000:9000 portainer/portainer
): docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainerThe text was updated successfully, but these errors were encountered: