{"action":"created","issue":{"url":"https://api.github.com/repos/xemul/criu/issues/22","labels_url":"https://api.github.com/repos/xemul/criu/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/xemul/criu/issues/22/comments","events_url":"https://api.github.com/repos/xemul/criu/issues/22/events","html_url":"https://github.com/xemul/criu/issues/22","id":101219005,"number":22,"title":"Docker - After restoring tomcat container, cannot connect to it","user":{"login":"klesgidis","id":7271528,"avatar_url":"https://avatars.githubusercontent.com/u/7271528?v=3","gravatar_id":"","url":"https://api.github.com/users/klesgidis","html_url":"https://github.com/klesgidis","followers_url":"https://api.github.com/users/klesgidis/followers","following_url":"https://api.github.com/users/klesgidis/following{/other_user}","gists_url":"https://api.github.com/users/klesgidis/gists{/gist_id}","starred_url":"https://api.github.com/users/klesgidis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klesgidis/subscriptions","organizations_url":"https://api.github.com/users/klesgidis/orgs","repos_url":"https://api.github.com/users/klesgidis/repos","events_url":"https://api.github.com/users/klesgidis/events{/privacy}","received_events_url":"https://api.github.com/users/klesgidis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-08-15T23:25:16Z","updated_at":"2015-08-18T18:22:15Z","closed_at":null,"body":"Guys sorry for the continuous issues and thanks for all the support..\r\nDocker \r\n```\r\nClient:\r\n Version:      1.9.0-dev\r\n API version:  1.21\r\n Go version:   go1.4.2\r\n Git commit:   59c375a-dirty\r\n Built:        Fri Aug 14 17:11:58 UTC 2015\r\n OS/Arch:      linux/amd64\r\n Experimental: true\r\n\r\nServer:\r\n Version:      1.9.0-dev\r\n API version:  1.21\r\n Go version:   go1.4.2\r\n Git commit:   59c375a-dirty\r\n Built:        Fri Aug 14 17:11:58 UTC 2015\r\n OS/Arch:      linux/amd64\r\n Experimental: true\r\n```\r\nCRIU\r\n```\r\nVersion: 1.6\r\nGitID: v1.6-163-g231b61d\r\n```\r\nI run the following sequence \r\n```\r\n$> docker run -d --name tomcat1 tomcat:8.0\r\n$> docker checkpoint --image-dir ~/Desktop/cr_migrations/tomcat/memory --work-dir ~/Desktop/logs/tomcat tomcat1\r\n$> docker export tomcat1 > ~/Desktop/cr_migrations/tomcat/fs.tar\r\n$> docker import --change \"ENV PATH /usr/local/tomcat/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\" --change \"ENV LANG C.UTF-8\" --change \"ENV JAVA_VERSION 7u79\" --change \"ENV JAVA_DEBIAN_VERSION 7u79-2.5.5-1~deb8u1\" --change \"ENV CATALINA_HOME /usr/local/tomcat\" --change \"ENV TOMCAT_MAJOR 8\" --change \"ENV TOMCAT_VERSION 8.0.24\" --change \"ENV TOMCAT_TGZ_URL https://www.apache.org/dist/tomcat/tomcat-8/v8.0.24/bin/apache-tomcat-8.0.24.tar.gz\" --change \"CMD [\\\"catalina.sh\\\", \\\"run\\\"]\" --change \"EXPOSE 8080\" --change \"WORKDIR /usr/local/tomcat\" - tomcat:kyriakos < ~/Desktop/cr_migrations/tomcat/fs.tar\r\n$> docker create --name tomcat2 tomcat:kyriakos\r\n$> docker restore --force=true --allow-tcp=true --allow-ext-unix=true --image-dir ~/Desktop/cr_migrations/tomcat/memory --work-dir ~/Desktop/logs/tomcat tomcat2\r\n```\r\nand I have \r\n```\r\nCONTAINER ID        IMAGE               COMMAND             CREATED              STATUS              PORTS               NAMES\r\n86bba1f8977d        tomcat:kyria        \"catalina.sh run\"   About a minute ago   Up About a minute   8080/tcp            tomcat2\r\n```\r\nwith \r\n```\r\n        \"GlobalIPv6Address\": \"\",\r\n        \"GlobalIPv6PrefixLen\": 0,\r\n        \"IPAddress\": \"172.17.0.10\",\r\n        \"IPPrefixLen\": 16,\r\n        \"IPv6Gateway\": \"\",\r\n        \"LinkLocalIPv6Address\": \"\",\r\n        \"LinkLocalIPv6PrefixLen\": 0,\r\n        \"SecondaryIPAddresses\": null,\r\n        \"SecondaryIPv6Addresses\": null\r\n```\r\n\r\nWhen I type <code>172.17.0.10:8080</code> in my browser, I cannot connect to the restored container. \r\n\r\nThanks\r\n\r\nEdit: I also tried to C/R with the default actions\r\n```\r\n$> docker checkpoint tomcat1\r\n$> docker restore tomcat1\r\n```\r\nand I had the same results.\r\nIn addition, if it helps, when I do <code>docker top tomcat2</code> I receive\r\n```\r\nError response from daemon: [8] System error: open /sys/fs/cgroup/devices/docker/dfae7ff5796cc879232038d6f6ef75114e710aa9e9fc0f6438fa8d4267c32313/cgroup.procs: no such file or directory\r\n```"},"comment":{"url":"https://api.github.com/repos/xemul/criu/issues/comments/132307111","html_url":"https://github.com/xemul/criu/issues/22#issuecomment-132307111","issue_url":"https://api.github.com/repos/xemul/criu/issues/22","id":132307111,"user":{"login":"boucher","id":22065,"avatar_url":"https://avatars.githubusercontent.com/u/22065?v=3","gravatar_id":"","url":"https://api.github.com/users/boucher","html_url":"https://github.com/boucher","followers_url":"https://api.github.com/users/boucher/followers","following_url":"https://api.github.com/users/boucher/following{/other_user}","gists_url":"https://api.github.com/users/boucher/gists{/gist_id}","starred_url":"https://api.github.com/users/boucher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boucher/subscriptions","organizations_url":"https://api.github.com/users/boucher/orgs","repos_url":"https://api.github.com/users/boucher/repos","events_url":"https://api.github.com/users/boucher/events{/privacy}","received_events_url":"https://api.github.com/users/boucher/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T18:22:15Z","updated_at":"2015-08-18T18:22:15Z","body":"He's using an older version of docker (which is available still here:\nhttps://github.com/SaiedKazemi/docker/releases/tag/v1.5.0)\n\nOn Tue, Aug 18, 2015 at 11:20 AM, Kyriakos Lesgidis <\nnotifications@github.com> wrote:\n\n> Another question... (I know I am pain in the ass :P ) In this video\n> https://www.youtube.com/watch?v=HFt9v6yqsXo how Saied Kazemi managed to\n> restore and continue the streaming? I mean he didn't have this network\n> issues? Thanks for your patience..\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/xemul/criu/issues/22#issuecomment-132306667>.\n>\n"}}