Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save orange888/4506c323bf9b0b9830e06ac79fff2d4b to your computer and use it in GitHub Desktop.
Save orange888/4506c323bf9b0b9830e06ac79fff2d4b to your computer and use it in GitHub Desktop.
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)

References

Steps

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

Notes:

  • 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 :)

ping google.com

2. Install Docker on Alpine

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