-
1Install QEMU
open QEMU download page and download it. 32-bit or 64-bit depends on your windows version.
Install it and make sure you added it to your windows PATH ENV variable.
-
2Download Alpine Linux ISO
open Alpine Linux download page and download the extended image.
-
3create folder for your docker files
create a specific folder (eg : c:/docker) to store all of your docker files.
-
4create QCOW2 image
use this command to create qcow image
qemu-img create -f qcow2 alpine.qcow2 16G
-
5boot QEMU
use this command to run QEMU. make sure you change :
- architecture (32-bit / 64-bit)
- alpine image
- alpine.qcow2
qemu-system-x86_64.exe -cdrom alpine-extended-3.8.2-x86_64.iso -m 2048 .\alpine.qcow2 -net user,hostfwd=tcp::2222-:22 -net nic
-
6Install Alpine Linux
log in with username "root" . then , install Alpine Linux by running command "setup-alpine" . just follow the instructions.
you can refer to Alpine Linux Installation guide
tips : when asked about about sys, data, etc , choose "sys" because it's the traditional hard disk install.
-
7Install docker
install docker with the command below. make sure "Community" Repository were enabled before running the command.
apk add docker rc-update add docker boot service docker start
To install docker compose , follow the command below . if "pip install docker-compose" failed, upgrade your pip. the update command is shown as a warning/yellow message.
apk add py-pip apk add python-dev libffi-dev openssl-dev gcc libc-dev make pip install docker-compose
you can refer to Alpine Linux installing Docker Guide
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.