{"action":"closed","issue":{"url":"https://api.github.com/repos/tarantool/docker/issues/65","repository_url":"https://api.github.com/repos/tarantool/docker","labels_url":"https://api.github.com/repos/tarantool/docker/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/tarantool/docker/issues/65/comments","events_url":"https://api.github.com/repos/tarantool/docker/issues/65/events","html_url":"https://github.com/tarantool/docker/issues/65","id":365163541,"node_id":"MDU6SXNzdWUzNjUxNjM1NDE=","number":65,"title":"Can't create tcp_server Permission denied","user":{"login":"yurytom","id":469042,"node_id":"MDQ6VXNlcjQ2OTA0Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/469042?v=4","gravatar_id":"","url":"https://api.github.com/users/yurytom","html_url":"https://github.com/yurytom","followers_url":"https://api.github.com/users/yurytom/followers","following_url":"https://api.github.com/users/yurytom/following{/other_user}","gists_url":"https://api.github.com/users/yurytom/gists{/gist_id}","starred_url":"https://api.github.com/users/yurytom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurytom/subscriptions","organizations_url":"https://api.github.com/users/yurytom/orgs","repos_url":"https://api.github.com/users/yurytom/repos","events_url":"https://api.github.com/users/yurytom/events{/privacy}","received_events_url":"https://api.github.com/users/yurytom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-29T20:14:55Z","updated_at":"2018-09-29T23:05:40Z","closed_at":"2018-09-29T23:05:40Z","author_association":"NONE","body":"Hi there,\r\n\r\nI have built a container based on tarantool/tarantool:1.7\r\nIt fails to start http server.\r\n\r\n`2018-09-29 19:52:11.596 [1] main/101/tarantool-entrypoint.lua F> /usr/local/share/lua/5.1/http/server.lua:1119: Can't create tcp_server: Permission denied`\r\n\r\nDockerfile\r\n```\r\nFROM tarantool/tarantool:1.7\r\n\r\nCOPY init.lua /opt/tarantool\r\n\r\nENV TARANTOOL_USER_NAME test\r\nENV TARANTOOL_USER_PASSWORD test\r\n\r\nEXPOSE 80\r\n\r\nCMD [\"tarantool\", \"/opt/tarantool/init.lua\"]\r\n\r\n```\r\n\r\ninit.lua\r\n\r\n```\r\nbox.cfg {\r\n    listen = 3301,\r\n    memtx_memory=209715200\r\n}\r\n\r\nlocal server = require('http.server').new('0.0.0.0', 80)\r\nserver:start()\r\n\r\n```\r\n\r\n```\r\ndocker build -t testtnt .\r\ndocker run -p 80:80 testtnt\r\n\r\n```\r\n\r\n```\r\nCreating configuration file: /etc/tarantool/config.yml\r\nConfig:\r\n---\r\npid_file: /var/run/tarantool/tarantool.pid\r\nwal_dir: /var/lib/tarantool\r\nmemtx_memory: 209715200\r\nlisten: 3301\r\nvinyl_dir: /var/lib/tarantool\r\nmemtx_dir: /var/lib/tarantool\r\n...\r\n\r\n2018-09-29 19:52:11.587 [1] main/101/tarantool-entrypoint.lua C> Tarantool 1.7.6-11-gcd17b77f9\r\n2018-09-29 19:52:11.588 [1] main/101/tarantool-entrypoint.lua C> log level 5\r\n2018-09-29 19:52:11.588 [1] main/101/tarantool-entrypoint.lua I> mapping 218103808 bytes for memtx tuple arena...\r\n2018-09-29 19:52:11.588 [1] main/101/tarantool-entrypoint.lua I> mapping 134217728 bytes for vinyl tuple arena...\r\n2018-09-29 19:52:11.588 [1] iproto/101/main I> binary: bound to 0.0.0.0:3301\r\n2018-09-29 19:52:11.589 [1] main/101/tarantool-entrypoint.lua I> initializing an empty data directory\r\n2018-09-29 19:52:11.590 [1] snapshot/101/main I> saving snapshot `/var/lib/tarantool/00000000000000000000.snap.inprogress'\r\n2018-09-29 19:52:11.592 [1] snapshot/101/main I> done\r\n2018-09-29 19:52:11.592 [1] main/101/tarantool-entrypoint.lua I> ready to accept requests\r\n2018-09-29 19:52:11.592 [1] main/104/checkpoint_daemon I> started\r\n2018-09-29 19:52:11.592 [1] main/104/checkpoint_daemon I> scheduled the next snapshot at Sat Sep 29 21:45:22 2018\r\n2018-09-29 19:52:11.593 [1] main/101/tarantool-entrypoint.lua I> Initializing database\r\n2018-09-29 19:52:11.593 [1] main/101/tarantool-entrypoint.lua I> Creating user 'test'\r\n2018-09-29 19:52:11.593 [1] main/101/tarantool-entrypoint.lua I> Granting admin privileges to user 'test'\r\n2018-09-29 19:52:11.594 [1] main/101/tarantool-entrypoint.lua I> Setting password for user 'test'\r\n2018-09-29 19:52:11.594 [1] main/105/console/unix/:/var/run/tarantoo I> started\r\n2018-09-29 19:52:11.596 [1] main/101/tarantool-entrypoint.lua F> /usr/local/share/lua/5.1/http/server.lua:1119: Can't create tcp_server: Permission denied\r\n\r\n\r\n```\r\nHave I missed anything? \r\n\r\nThank you"}}
{"actor":{"display_login":"Totktonada"}}