{"action":"created","issue":{"url":"https://api.github.com/repos/portainer/portainer/issues/2118","repository_url":"https://api.github.com/repos/portainer/portainer","labels_url":"https://api.github.com/repos/portainer/portainer/issues/2118/labels{/name}","comments_url":"https://api.github.com/repos/portainer/portainer/issues/2118/comments","events_url":"https://api.github.com/repos/portainer/portainer/issues/2118/events","html_url":"https://github.com/portainer/portainer/issues/2118","id":347060215,"node_id":"MDU6SXNzdWUzNDcwNjAyMTU=","number":2118,"title":"Docker network alias not created","user":{"login":"noxcuse","id":25507652,"node_id":"MDQ6VXNlcjI1NTA3NjUy","avatar_url":"https://avatars1.githubusercontent.com/u/25507652?v=4","gravatar_id":"","url":"https://api.github.com/users/noxcuse","html_url":"https://github.com/noxcuse","followers_url":"https://api.github.com/users/noxcuse/followers","following_url":"https://api.github.com/users/noxcuse/following{/other_user}","gists_url":"https://api.github.com/users/noxcuse/gists{/gist_id}","starred_url":"https://api.github.com/users/noxcuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noxcuse/subscriptions","organizations_url":"https://api.github.com/users/noxcuse/orgs","repos_url":"https://api.github.com/users/noxcuse/repos","events_url":"https://api.github.com/users/noxcuse/events{/privacy}","received_events_url":"https://api.github.com/users/noxcuse/received_events","type":"User","site_admin":false},"labels":[{"id":806139229,"node_id":"MDU6TGFiZWw4MDYxMzkyMjk=","url":"https://api.github.com/repos/portainer/portainer/labels/bug/need-confirmation","name":"bug/need-confirmation","color":"f9d0c4","default":false},{"id":724386623,"node_id":"MDU6TGFiZWw3MjQzODY2MjM=","url":"https://api.github.com/repos/portainer/portainer/labels/container/edit","name":"container/edit","color":"bfdadc","default":false},{"id":379305037,"node_id":"MDU6TGFiZWwzNzkzMDUwMzc=","url":"https://api.github.com/repos/portainer/portainer/labels/kind/bug","name":"kind/bug","color":"ee0701","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-02T15:21:37Z","updated_at":"2018-10-27T08:46:18Z","closed_at":null,"author_association":"NONE","body":"**Bug description**\r\n\r\nDocker networ alias is not created from portainer (Dupplicate/Edit -> Deploy container )\r\n\r\n**Expected behavior**\r\n\r\nContainer should have all aliases which were previously created.\r\n\r\n**Steps to reproduce the issue:**\r\n\r\nSteps to reproduce the behavior:\r\n1. Create container from compose files using docker-compose up -d\r\n2. Inspect previously created container, the output should looks like:\r\n`NetworkSettings\r\nNetworks\r\ncompose_mynet\r\nAliases\r\n**0 8dccf856bb21\r\n1 service-name**\r\n\r\n2. Go to Duplicate/Edit option on deployed container\r\n3. Deploy container once again by pressing button (Deploy the container)\r\n4. The last alias (service-name) disappears. \r\n5. Cannot reach container from another container in the same network\r\n\r\n**Technical details:**\r\n\r\n* Portainer version: 1.19.1, 1.18.1, 1.17.1\r\n* Docker version (managed by Portainer): 18.06.0-ce\r\n* Platform (windows/linux): Linux, Ubuntu 16.04\r\n* Command used to start Portainer: `docker-compose up -d`\r\n\r\n`version: \"3.0\"\r\n\r\nnetworks:\r\n  mynet:\r\n\r\nservices:\r\n  portainer:\r\n    image: portainer/portainer\r\n    command: --no-auth -H unix:///var/run/docker.sock\r\n    volumes: \r\n      - /var/run/docker.sock:/var/run/docker.sock\r\n      - portainer_data:/data\r\n    restart: always\r\n    ports:\r\n      - 9000:9000\r\n\r\nvolumes:\r\n  portainer_data:`\r\n\r\n* Browser: all"},"comment":{"url":"https://api.github.com/repos/portainer/portainer/issues/comments/433602954","html_url":"https://github.com/portainer/portainer/issues/2118#issuecomment-433602954","issue_url":"https://api.github.com/repos/portainer/portainer/issues/2118","id":433602954,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzYwMjk1NA==","user":{"login":"workingmachine","id":29678139,"node_id":"MDQ6VXNlcjI5Njc4MTM5","avatar_url":"https://avatars2.githubusercontent.com/u/29678139?v=4","gravatar_id":"","url":"https://api.github.com/users/workingmachine","html_url":"https://github.com/workingmachine","followers_url":"https://api.github.com/users/workingmachine/followers","following_url":"https://api.github.com/users/workingmachine/following{/other_user}","gists_url":"https://api.github.com/users/workingmachine/gists{/gist_id}","starred_url":"https://api.github.com/users/workingmachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/workingmachine/subscriptions","organizations_url":"https://api.github.com/users/workingmachine/orgs","repos_url":"https://api.github.com/users/workingmachine/repos","events_url":"https://api.github.com/users/workingmachine/events{/privacy}","received_events_url":"https://api.github.com/users/workingmachine/received_events","type":"User","site_admin":false},"created_at":"2018-10-27T08:46:18Z","updated_at":"2018-10-27T08:46:18Z","author_association":"NONE","body":"I have detect the same issue."}}
{"actor":{"display_login":"workingmachine"}}