{"html_url": "https://github.com/simonw/datasette/issues/59#issuecomment-344141199", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/59", "id": 344141199, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDE0MTE5OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-14T04:13:11Z", "updated_at": "2017-11-14T04:13:11Z", "author_association": "OWNER", "body": "I managed to do this manually:\r\n\r\n datasette package ~/parlgov-db/parlgov.db --metadata=parlgov.json\r\n # Output 8758ec31dda3 as the new image ID\r\n docker save 8758ec31dda3 > /tmp/my-image\r\n # I could have just piped this straight to hyper\r\n cat /tmp/my-image | hyper load\r\n # Now start the container running in hyper\r\n hyper run -d -p 80:8001 --name parlgov 8758ec31dda3\r\n # We need to assign an IP address so we can see it\r\n hyper fip allocate 1\r\n # Outputs 199.245.58.78\r\n hyper fip attach 199.245.58.78 parlgov\r\n\r\nAt this point, visiting the IP address in a browser showed the parlgov UI.\r\n\r\nTo clean up...\r\n\r\n hyper hyper fip detach parlgov\r\n hyper fip release 199.245.58.78\r\n hyper stop parlgov\r\n hyper rm parlgov\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273157085, "label": "datasette publish hyper"}, "performed_via_github_app": null}