Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
How to install Docker on Alpine Linux 3.10

1. Install Alpine on VirtualBox

1.1. Installation

1.2. Setup Alpine Script

1.3. IPv4 DHCP Configuration (If hits network problem)



First run setup-alpine and go on and then you will hit the network problem After that this setup has filled the file /etc/network/interfaces for you. Now do this:

vi /etc/network/interfaces

and In the part of the file that it has written:

iface eth0 inet dhcp

Just add udhcpc_opts -O search (option is letter O, note zero 0) below it like this:

iface eth0 inet dhcp
    udhcpc_opts -O search


  • In case 3.6, use udhcpc_opts
  • But 3.10, it might be udhcpc

Then run this:

ifup eth0

If it says its currently up then you need to down it first:

ifdown eth0 && ifup eth0

Then, test by :)


2. Install Docker on Alpine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment