Pmbootstrap: Docker os

Created on 31 Dec 2017  路  6Comments  路  Source: postmarketOS/pmbootstrap

Will there be any docker images with PmOS? There is already qemu based stuff, but it would be really good to see a possibility of using it inside of docker container(terminal server for phones, for example).

question

All 6 comments

postmarketOS is basically just Alpine Linux with some phone specific packages. Since Alpine Linux is already really popular in the Docker world, I don't see why we would make our own image for it.

@schvabodka-man I don't see why is useful building the pmOS images for Docker. Can you elaborate on the possible scenarios?

The only scenario I can think using Docker is beneficial is when building pmOS itself.

I would make attempt to package pmos releated stuff(hildon, sdl keyboard, etc) using base alpine linux image, and i see if everything will work good(but image will be most likely x86-only).

Usecase:
I want myself a 'remote desktop' server. One docker container as desktop, one for mobile stuff. First is accessed from my pi's and thinkpads, second from n900 and jornada(personal 'cloud' workspaces accessed using x2go/freenx).

That's an interesting usecase! To turn Alpine into postmarketOS:

  • Install Alpine Linux
  • Add this key to /etc/apk/keys
  • Add this mirror to the top of /etc/apk/repositories:
http://postmarketos.brixit.nl
  • Install the packages for the device and UI you want to have, for example:
apk add -u postmarketos-base device-nokia-rx51 postmarketos-ui-hildon

(Use device-qemu-amd64 for a x86_64 installation, but this will also install a kernel -- maybe it makes sense to introduce a new "docker device" without any kernel, you could experiment with that if you want.)

Looks like this is answered. If it is not, just reply here 馃憤

Some time ago, I used tried to build pmos docker image( use pmos repos), but failed to start desktop. Later when I just use alpine packages, this time I can start xfce4 in docker, here is the x64 Dockerfile (and there is also a armhf version), not sure why this happen, guess need more tweaks for pmos docker image. If someone can find out how to do it, there will be a new quick way to try pmos.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zenety picture zenety  路  5Comments

MartijnBraam picture MartijnBraam  路  5Comments

cmdr2 picture cmdr2  路  7Comments

MartijnBraam picture MartijnBraam  路  6Comments

ata2001 picture ata2001  路  4Comments