OpenVZ Forum

Home » General » Discussions » Create an Alpine Linux container from scratch (An os template that is 2.8MB in tar.gz format and provides a 6MB containers fully working container)
Create an Alpine Linux container from scratch [message #51898] Sat, 21 February 2015 08:01 Go to previous message
XavM is currently offline  XavM
Messages: 5
Registered: April 2013
Location: France
Junior Member

If any one find interest, I just wrote a small tutorial on how to create an Alpine Linux container from scratch : iner.html

The template is 2.8MB in its tar.gz format and provides a 6MB fully working container with sshd

Alpine Linux has access to a surprisingly rich package repository where you will find nginx, httpd, nodejs, postgres, mysql, memcached, dnsmasq, collectd, monit, ansible ... and a lot more :

It can be especially useful to have a small base os-template to create a fleet of barebones containers exposing dedicated services (see blog post for a few examples why)

Golang (1.3) dev package (not included in this template) allows you to compile your favorite Go binaries (We have deployed our consul (v0.5) server cluster using this template : )

Feel free to use, comment, share and correct as necessary

My secret wishes :

- @_openvz_ would make an official Alpine linux os template
- @_openvz_ would include some kind of os template "layering" capability (in a ploop-like way ??) allowing containers creation based on a base template + n more additional layers on top of it

I am definitely sure its time for OpenVZ to get back some credits (hypes ??) it deserves when compared to @Docker ;) !!




[Updated on: Sat, 21 February 2015 08:55]

Report message to a moderator

Read Message
Read Message
Previous Topic: network issue
Next Topic: Container Portability
Goto Forum:

Current Time: Thu Jun 01 13:23:39 GMT 2023

Total time taken to generate the page: 0.01517 seconds