Ask / Submit

Docker container support in SailfishOS? [answered]

asked 2016-09-10 13:12:00 +0200

gabs5807 gravatar image

updated 2016-09-10 13:12:54 +0200

What about docker container support in SailfishOS? I think there are various existing container images available which will also work on SailfishOS.

This also allow some low level security mechanism, for e.g. android VM, ..

It's easy to set up a development environment on a container and if it's set up you can reuse it many times (the maruOS developer use this way to get an equal development environment). And i think there are many more possibilities to use containers.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by gabs5807
close date 2018-05-01 14:08:49.913217

2 Answers

Sort by » oldest newest most voted

answered 2016-09-10 13:30:30 +0200

cy8aer gravatar image

There is a container-discussion in last developer meeting (but flatpack for application isolating in combination with selinux).

Docker should work if you

  • have Go for SailfishOS
  • get the newest docker (0.12.x) compiled and running. IMHO there is no lacking kernel stuff which might show stop.


  • docker stuff is server stuff - no graphical interface stuff. There are some solutions for X but not for wayland which is used on SailFishOS
  • I had not so good experiences with 0.12.x on amd64 (network stack, iptables problems) so that I swapped back to 0.11.x there.
edit flag offensive delete publish link more


@cy8aer: thank you, good to hear that. is any timeline about this feature? i think if the server stuff is working, the graphical part will come - sooner or later ;-).

gabs5807 ( 2016-09-10 13:44:06 +0200 )edit

@gabs5807 I am using it only on amd64 servers so I am not intending to do this with SailfishOS. The flatpack/selinux stuff seems to be examined by now according to the meeting)

cy8aer ( 2016-09-10 14:03:12 +0200 )edit

Flatpack containers should be a better solution because of the graphical stuff anyways in this special purpose.

cy8aer ( 2016-09-10 14:05:32 +0200 )edit

answered 2016-09-11 17:35:15 +0200

mick3 gravatar image

updated 2016-09-11 17:36:09 +0200

Have you checked the existing container support in SFOS?

I think this could be a way to go for setting up a development environment. An even simpler one would be to create a chroot environment: (not sure if this is still recent enough to work)

So I don't think you really need to port Docker to SFOS for using containers or you may just start with chroot. I'm also not sure that existing container images will work out of the box with Docker on SFOS. For which ARM architecture were those images built?

edit flag offensive delete publish link more

Question tools



Asked: 2016-09-10 13:12:00 +0200

Seen: 681 times

Last updated: Sep 11 '16