Steps to install Alpine Linux on virtual box

2018-01-23 09:25:00
Memory, Renee

Docker has a mini version of Alpine Linux, and its size is only 5M. Out of curiosity, I installed a virtual machine to try it. I am not trying the one on Docker, but the official one. Look at it below.

You can choose either one of the two, virtual or standard. Download it and configure your VirtualBox.

Create a new VirtualBox. Choose Linux as its type, Linux 64-bit as its version, 256M as its memory, 8G as its virtual disk drive.


1: Start the VirtualBox. Use root as the username to log in for the first time and no password is required.

2: Run setup-alpine to start the Installation Wizard. Enter the answers to the questions the Wizard asked. If any misoperations, press Ctrl + c to exit the Wizard. Then restart the Installation Wizard.

3: The following are explanations questions the Wizard asks.

Select keyboard layout [none]: 

Enter system hostname (short form, e.g. 'foo') [localhost]

Which one do you want to initialize? (or '?' or 'done') [eth0]

Ip address for eth0? (or 'dhcp', 'none', '?') [dhcp]

Do you want to do any manual network configuration? [no]

Changeing password for root
New password:

Retype Password:

Which timezone are you in? ('?' for list) [UTC]


Enter mirror number (1-21) or URL to add (or r/f/e/done) [f]

Which SSH server? ('openssh', 'dropbear' or 'none') [openssh]

Which NTP client to run? ('busybox', 'openntpd', 'chorony' or 'none') [chrony]

Available disks are:
  sda   (8.6 GB ATA    VBOX HARDDISK    )
Which disk(s) would you like to use? (or '?' for help or 'none') [none]

The following disk is selected:
  sda   (8.6 GB ATA      VBOX HARDDISK    )
How would you like to use it? ('sys', 'data', 'lvm' or '?' for help) [?]

WARNING: The following disk(s) will be erased:
  sda   (8.6 GB ATA      VBOX HARDDISK   )
WARNING: Erase the above disk(s) and continue? [y/N]

(If your disk drive has installed others, the prompt is as follows.)
/dev/sda1 contains a ext4 file system
Proceed anyway(y,N)

Instalation is complete. Please reboot

Before your reboot, add an user在 that is not root. This is because roo cannot be used to login SSH, so add another user:

localhost:~# adduser 
New password:
Retype password: 

You can also change the configuration of SSHD. Edit /etc/ssh/sshd_config and add

PermitRootLogin yes

Done! You can do remote login now.

Write a Comment
Comment will be posted once reviewed.

Why choose ZenTao


Serving 30,000+ teams

Serving 200,000+ projects

Serving 800,000+ developers

The #1 in local market share

Free & Open

Open source and unlimited to commercial

Powerful extension mechanism and various plug-ins

Available on Github

Either Self-Host or Cloud Apps


Refined ALM support

Zero downtime upgrades 

Integrate Git and SVN (pro)

Word and Excel import & export (pro)

Preview-Edit-Diff document online(ent)

Integrate OPS-Attendance-Feedback(ent)


ZenTao team has involved in open source since 2004

Frequent releases and free upgrade forever(even self-hosted) 

Instant and powerful support for 20000+ companies


Out of the box, Less config

Nice price for small team($9.9)

Design to adhere Scrum Best practice

For Agile but not restrict to Agile


Applicable for different sized teams

Applicable for Agile/Waterfall

Modules can be used in any combination

Convenient customization