{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/fbctf/issues/207","repository_url":"https://api.github.com/repos/facebook/fbctf","labels_url":"https://api.github.com/repos/facebook/fbctf/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/facebook/fbctf/issues/207/comments","events_url":"https://api.github.com/repos/facebook/fbctf/issues/207/events","html_url":"https://github.com/facebook/fbctf/issues/207","id":174643133,"number":207,"title":"Docker image hangs forever","user":{"login":"freeqaz","id":4573221,"avatar_url":"https://avatars.githubusercontent.com/u/4573221?v=3","gravatar_id":"","url":"https://api.github.com/users/freeqaz","html_url":"https://github.com/freeqaz","followers_url":"https://api.github.com/users/freeqaz/followers","following_url":"https://api.github.com/users/freeqaz/following{/other_user}","gists_url":"https://api.github.com/users/freeqaz/gists{/gist_id}","starred_url":"https://api.github.com/users/freeqaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeqaz/subscriptions","organizations_url":"https://api.github.com/users/freeqaz/orgs","repos_url":"https://api.github.com/users/freeqaz/repos","events_url":"https://api.github.com/users/freeqaz/events{/privacy}","received_events_url":"https://api.github.com/users/freeqaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-01T22:44:56Z","updated_at":"2016-09-02T05:27:26Z","closed_at":null,"body":"Howdy y'all,\r\n\r\nIn setting up the container with Docker, I'm getting an infinite hang. Here is my output.\r\n\r\n```\r\n~/code/fbctf master 10s\r\n❯ docker build --build-arg MODE=dev -t=\"fbctf_in_dev\" .\r\nSending build context to Docker daemon 6.762 MB\r\nStep 1 : FROM ubuntu:trusty\r\n ---> 4a725d3b3b1c\r\nStep 2 : MAINTAINER Boik boik@tdohacker.org\r\n ---> Using cache\r\n ---> eeb225da0779\r\nStep 3 : ENV HOME /root\r\n ---> Using cache\r\n ---> 1250cf585514\r\nStep 4 : ARG DOMAIN\r\n ---> Using cache\r\n ---> 9baf979c4fc7\r\nStep 5 : ARG EMAIL\r\n ---> Using cache\r\n ---> c915799cfc66\r\nStep 6 : ARG MODE=dev\r\n ---> Using cache\r\n ---> f2268ddd0c8e\r\nStep 7 : ARG TYPE=self\r\n ---> Using cache\r\n ---> ff62e0e5652c\r\nStep 8 : ARG KEY\r\n ---> Using cache\r\n ---> 4563b348302c\r\nStep 9 : ARG CRT\r\n ---> Using cache\r\n ---> 98646d861424\r\nStep 10 : WORKDIR $HOME\r\n ---> Using cache\r\n ---> c7bce922cc6d\r\nStep 11 : COPY . $HOME\r\n ---> Using cache\r\n ---> 8c7b9aebe829\r\nStep 12 : RUN apt-get update   && apt-get install -y   rsync   ca-certificates   && chown www-data:www-data $HOME   && ./extra/provision.sh -m $MODE -c $TYPE -k $KEY -C $CRT -D $DOMAIN -e $EMAIL -s `pwd` --docker   && apt-get clean   && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*\r\n ---> Using cache\r\n ---> b10169a49c2d\r\nStep 13 : CMD ./extra/service_startup.sh\r\n ---> Using cache\r\n ---> 5ba4bda08343\r\nSuccessfully built 5ba4bda08343\r\n\r\n~/code/fbctf master\r\n❯ docker run -p 80:80 -p 443:443 fbctf_in_dev\r\n * Restarting nginx nginx\r\n   ...done.\r\n * Starting MySQL database server mysqld\r\n   ...done.\r\n * Checking for tables which need an upgrade, are corrupt or were\r\nnot closed cleanly.\r\n```\r\n\r\nIt hangs forever on that last line. Control-C, V, or Z have not effect and I have to close the terminal window.\r\n\r\nMore info on my setup:\r\n- Using Virtualbox on my Mac, version 5.0.12\r\n- Docker version 1.12.0, build 8eab29e\r\n- Using an Ubuntu machine for this"},"comment":{"url":"https://api.github.com/repos/facebook/fbctf/issues/comments/244286364","html_url":"https://github.com/facebook/fbctf/issues/207#issuecomment-244286364","issue_url":"https://api.github.com/repos/facebook/fbctf/issues/207","id":244286364,"user":{"login":"qazbnm456","id":6451933,"avatar_url":"https://avatars.githubusercontent.com/u/6451933?v=3","gravatar_id":"","url":"https://api.github.com/users/qazbnm456","html_url":"https://github.com/qazbnm456","followers_url":"https://api.github.com/users/qazbnm456/followers","following_url":"https://api.github.com/users/qazbnm456/following{/other_user}","gists_url":"https://api.github.com/users/qazbnm456/gists{/gist_id}","starred_url":"https://api.github.com/users/qazbnm456/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qazbnm456/subscriptions","organizations_url":"https://api.github.com/users/qazbnm456/orgs","repos_url":"https://api.github.com/users/qazbnm456/repos","events_url":"https://api.github.com/users/qazbnm456/events{/privacy}","received_events_url":"https://api.github.com/users/qazbnm456/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T05:27:26Z","updated_at":"2016-09-02T05:27:26Z","body":"@freeqaz The default run command provided in README will not be terminated with Control-C, V, or Z. If you want to terminate the container with those keys, you should pass `-it` as well, ex: `docker run -p 80:80 -p 443:443 -it fbctf_in_dev`."}}
{"actor":{"display_login":"qazbnm456"}}