It gives native performance, can run Docker images and works in Crouton though limited to host network -net=host. The performance is also noticeable better (than in Termux) but far from being desirable. The advantage of developer mode is that you can use Docker client binaries. The process is almost the same as the previous section and you only need to have Qemu installed. You can have Docker with or without Crouton. You can forward more ports by modifying the -net line in scripts/start_persist.sh. I could not find 32 bit Docker client binaries that can run in Termux, thereby limiting us to invoking Docker from the VM. Start Docker service and congratulate yourself, Docker is now installed. Uncomment the community repo from /etc/apk/repositories. Install vim (or nano) to enable the community repository so we can install docker. chromeos-qemu-docker/scripts/start_persist.sh Once done, exit the virtual machine with Ctrl-A X. If you encounter internet related errors, use google dns with echo 'nameserver 8.8.8.8' > /etc/nf and run setup-alpine again. Apart from selecting installation disk drive and keyboard layout, you can go with the default options. chromeos-qemu-docker/scripts/setup_alpine.shĪfter boot, run setup-alpine and follow the prompts. qemu-img create -f qcow2 virtual_drive 4Gĭownload Alpine virtual iso and save the file as alpine_x86_64.iso. You can increase the size depending on your available disk space. mkdir termux-docker & cd termux-docker git clone Ĭreate a 4GB hard drive for the VM. wget bash enablerepo.shĬreate a directory for this adventure and clone chromeos-qemu-docker in it. pkg install termux-tools proot util-linux net-tools openssh git coreutils wgetĮnable additional termux repo to have access to Qemu package. Let us start by installing Termux from Play Store and the remaining instructions are to be done in Termux. ![]() You can have Docker without enabling developer mode but this offers the worst performance. Most Chromebook users would prefer not to sacrifice the security of Chrome OS and not live with the fear of pressing space bar at boot. Thanks to pwdonald for chromeos-qemu-docker. As expected, I need to use sudo for most commands, but it’s not only working but its running also faster than it used to do in my old Macbook.Surprised? Do not be, as long as your Chromebook has Android support. Lastly, we install Docker itself: sudo apt-get -y install docker-ce || exit 1Īnd done! Docker is now working. Then we need to add the Docker repository: curl -fsSL | sudo apt-key add - sudo apt-key fingerprint 0EBFCD88 sudo add-apt-repository “deb $(lsb_release -cs) stable” sudo apt-get update Open the terminal, and install the following dependencies: sudo apt-get -y install apt-transport-https ca-certificates software-properties-common gnupg2 I tried anyway, and succeeded, with Google’s Pixelbook i7 with 16GB of RAM, which may defer from the rest of the models who runs this OS. Making a quick search on Google, I found out that most people don’t recommend this operative system for using Docker. I found myself trying to reinstall several tools on my Pixelbook, and when I was following the tutorial to install Docker on the official documentation (To avoid missing a library), I noticed there’s no information about how to install it in ChromeOS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |