mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-13 13:53:28 +01:00
Amazon Linux problems... #60
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AlexMcConnell on GitHub (Jul 10, 2020).
Well, it's Amazon's own special implementation of Linux, so who knows if it's even possible to make this work, but...
SSH'd into my EC2 instance.
Ran:
Exited and rebooted.
SSH'd back in, pulled the Docker image and ran:
docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osxFailboat:
Other stuff:
Is this due to not having a display? Is there a way around not having a display?
@daraul commented on GitHub (Jul 14, 2020):
I'm having this problem with the VNC version as well.
@sickcodes commented on GitHub (Jul 15, 2020):
99% chance that they do not support hardware nested virtualization
@sickcodes commented on GitHub (Jul 20, 2020):
Amazon Linux is actually Red Hat linux, so it will work.... but in this case, it's probably hardware nested virtualization that has been disabled.
Digital Ocean works
@daraul commented on GitHub (Jul 20, 2020):
I can confirm Digital Ocean works, I'm using that as I type this comment, but don't expect to use xcode. Apple blocks requests from DO droplets.
Not sure if/how I can enable hardware nested virtualization on AWS, but I'll definitely have a closer look at their RHEL AMIs
@sickcodes commented on GitHub (Jul 20, 2020):
Haha excellent! 😝🚀🚀
@LcTrKiD commented on GitHub (Jul 21, 2020):
Is it expensive in DO? I want to have macOS ephimeral runners for my Gitlab CI/CD but an AWS metal instance is pretty much for my use case...
@sickcodes commented on GitHub (Jul 21, 2020):
The most economical way to do it is in the following way:
docker commit at the stage you want your machine, or copy the .img to somewhere.
Then use their API, or terraform, to run the server for the time required, and then delete it after.
@sickcodes commented on GitHub (Jul 21, 2020):
I am not familiar with their bare metals but it would probably work.
@ykhandelwal913 commented on GitHub (Aug 11, 2020):
@daraul were you able to run it on amazon linux?
@sickcodes commented on GitHub (Aug 11, 2020):
@ykhandelwal913 it will run on bare metal only, source: https://www.reddit.com/r/aws/comments/eo85jr/ec2_instance_types_that_support_nested/
Edit: this thread could be old news though
@ykhandelwal913 commented on GitHub (Aug 11, 2020):
Thanks @sickcodes for prompt response. sorry for reopening the old thread.
@daraul commented on GitHub (Aug 12, 2020):
I never got a chance to look at their RHEL AMI's @ykhandelwal913, but if I do I'll be back.
@iambenmitchell commented on GitHub (Aug 23, 2020):
If you are in the EU, Hetzner is a great host to use. They have servers in Germany and Finland. Super cheap prices. I have 10Gbps connection for €39 p/m (not including the server cost)
@KStartups commented on GitHub (Jul 25, 2025):
@iambenmitchell Sorry to ping you 5 years later, can you link me to the exact Hetzner product you used to deploy this on the cloud?