Hey CloudReady fans!
In an effort to help facilitate the kind of experimentation and exploration that has historically helped fuel progress in the world of Linux, we've included Docker in 64bit builds of CloudReady: Home Edition v63.
We're not going to try to educate users on how to use Docker for now. It is our hope that both internally at Neverware and across our growing population of CloudReady: Home Edition users, those who already know how to use Docker, and those who want to learn, will take it upon themselves to try things out and report back.
If you want to try using Docker on CloudReady:
- Make sure you're on v63 or higher of the 64bit CloudReady: Home Edition
- As of Feb. 27th 2018, you need to be on the Dev/Beta release channel to update to v63
- Log in
- Press ctl+alt+t to open a terminal
- Type in "shell" and hit enter
- Confirm that the yellow "crosh" prompt is now a green "chronos@localhost" prompt
- Run
sudo start docker
(the need to run this command is new in v66.4+) - Run the command
docker --version
you should see:- If you see that output - congrats! It's working.
- Now you can run
docker -h
to get a long list of the commands and syntax docker expects.
From here, you're on your own to find uses for it with CloudReady.
If you want to learn about using Docker:
Docker's website has a great guide- you can start at that link (skip the part about installing it, as it is built-in).
If you want Docker to run automatically on CloudReady:
Starting in v66.4, Docker is disabled by default to prevent conflicts with other network setups.
If you are using Docker regularly and would like CloudReady to automatically start it when your device starts, there's a simple way to configure that:
1) Log in
2) Press ctl+alt+t to open a terminal
3) Type in "shell" and hit enter
4) Confirm that the yellow "crosh" prompt is now a green "chronos@localhost" prompt
5) Run this command:
sudo touch /home/chronos/.enable_docker_service
Now Docker will start after each boot. You cen remove that same file to undo this change
If you want to talk about how you're using Docker on CloudReady:
Post detailed instructions, links to and descriptions of useful containers you're using, or anything else relevant to Docker in our new Docker section of the Forums!
Comments
8 comments
I'm kinda new to Linux so what's the use of this feature?
http://bfy.tw/H0d5
Thanks. Not a feature for me but for others yeah
This looks like a very interesting.
I think this is going to keep me busy for days!
Forrest, it looks like when you guys added Flatpak and renamed the forum it broke your link above, the new link appears to be https://neverware.zendesk.com/hc/en-us/community/topics/360000017388-Flatpaks-Docker-VMs-etc
Thanks dragon!
I have recently replaced Mac OS Mojave on my 2015 MacBook Air with CloudReady and I'm determined to make the switch permanent! One key item was the ability to spin up Docker containers, which this support article covers off on. However, I also needed to have 'docker-compose' to spin up my development environment.
After a lot of searching I found the solution that works and wanted to post the link/details here in case someone else was looking for a solution.
The approach that worked for me was to Install Docker Compose as a Container.
After following those steps, I was able to spin up my dev environment with one command.
Hopefully this helps someone else out who may be looking.
P.S. To the CloudReady team: THANKS FOR THE GREAT WORK! Crazy that Apple's native OS will not support more than 1 external display (only DP 1.1) even though the hardware supports DP 1.2. CloudReady allows me to have two external displays with an extended desktop. Thanks again!
Thrilled to hear you're using Docker on CloudReady, and that it gives you more on the hardware that you have. That's why we make it so, cheers!
Please sign in to leave a comment.