Jump to content

MathiasRenner

Members
  • Posts

    7
  • Joined

  • Last visited

Reputation Activity

  1. Like
    MathiasRenner got a reaction from gounthar in Docker on armbian!   
    Hello everyone!
     
    Is there anyone who tried to run Docker on armbian?
     
    Ok, let's start from the beginning: I am from the Hypriot Team (we made Docker available on ARM) and recently saw some guys successfully playing with Docker on armbian. Meanwhile, we know, that our Docker runs at least on the Cubietrack and Lamobo R1/BananaPi R1 on top of armbian!
     
    This is awesome because, you know, IoT is coming, and Docker on ARM helps get a grip on many challenges induced by IoT. However, we were only able to support Docker on Raspberry Pis so far...  Imagine if Docker would run on more than just a few ARM boards! Armbian seems an awesome platform to extend the family of Docker compatible boards.
     
    So, I wonder if there is anyone who tried to run Docker on armbian?
     
    If you are now curious about this topic and wanna get started, please see this blog post of how to install Docker on ARM within no time: http://blog.hypriot.com/post/family_arm_hardware_for_docker_more_children/
     
    Looking forward to get in touch with you guys!
  2. Like
    MathiasRenner got a reaction from op1tjaap in Docker on armbian!   
    Since there is official support for Docker on ARM for quite a while now, this thread is "resolved" to me.
     
    @Igor I suggest to update the docs here: https://docs.armbian.com/User-Guide_Advanced-Features/#how-to-run-docker. I opened a PR:  https://github.com/igorpecovnik/lib.docs/pull/5
     
  3. Like
    MathiasRenner got a reaction from manuti in Docker on armbian!   
    Since there is official support for Docker on ARM for quite a while now, this thread is "resolved" to me.
     
    @Igor I suggest to update the docs here: https://docs.armbian.com/User-Guide_Advanced-Features/#how-to-run-docker. I opened a PR:  https://github.com/igorpecovnik/lib.docs/pull/5
     
  4. Like
    MathiasRenner got a reaction from Igor in Docker on armbian!   
    Since there is official support for Docker on ARM for quite a while now, this thread is "resolved" to me.
     
    @Igor I suggest to update the docs here: https://docs.armbian.com/User-Guide_Advanced-Features/#how-to-run-docker. I opened a PR:  https://github.com/igorpecovnik/lib.docs/pull/5
     
  5. Like
    MathiasRenner got a reaction from Avinash Ga in Docker on armbian!   
    @Skygod: I don't know how different M1+ is from M2, of which Hosteiner mentioned it works fine. If there is a difference, it would be cool to see it it works on the M1+ as well!
     
    @Holsteiner: The Docker version in this image is probably by far not latest, but will probably work fine, which is good to see!
     
    Performance of Docker? Like charm :-) See this is docker daemon without any containers:
    $ ps -p 1277 -o %cpu,%mem,cmd %CPU %MEM CMD  1.1  2.8 /usr/bin/docker daemon -H fd:// --storage-driver=overlay -D Let's start 20 webservers (https://hub.docker.com/r/hypriot/rpi-busybox-httpd/), i.e. starting 20 containers, and check again:
    %CPU %MEM CMD  6.5  3.4 /usr/bin/docker daemon -H fd:// --storage-driver=overlay -D Note, that this is just the Docker daemon as "container manager" instance!
     
    For each container, Docker starts 4 processes. Please do not ask me why. Let's rather have a look at CPU and RAM:
    With 20 webservers running, CPU usage in total and average is about 4%. Before starting these 20 containers, it was a bit more than 2% in average.
    RAM usage is 162 MB. Before starting the 20 containers, it was 46 MB.
     
    So in general, only the Docker daemon is put on top. For containers, Docker's footprint is about the same as if you run apps natively. For this test, I used HypriotOS (http://blog.hypriot.com/) on a Raspberry Pi 2 B.
    You also can define how much CPU and RAM a container is allowed to have at max, and also in relation to other containers. Docker offers many options to make sure you are in control about available resources.
     
    And, BTW, with some tweaking, it's possible to start 2500 containers on a single Raspberry Pi with Docker :-) -> https://blog.docker.com/2015/10/raspberry-pi-dockercon-challenge-winner/
     
    @September: I can see that several containers are running, which shows that Docker works well, awesome! Thanks for your feedback! Yeah, we are not sure yet how much work it is, but we at least try to get together...
  6. Like
    MathiasRenner got a reaction from wildcat_paris in Docker on armbian!   
    @Skygod: I don't know how different M1+ is from M2, of which Hosteiner mentioned it works fine. If there is a difference, it would be cool to see it it works on the M1+ as well!
     
    @Holsteiner: The Docker version in this image is probably by far not latest, but will probably work fine, which is good to see!
     
    Performance of Docker? Like charm :-) See this is docker daemon without any containers:
    $ ps -p 1277 -o %cpu,%mem,cmd %CPU %MEM CMD  1.1  2.8 /usr/bin/docker daemon -H fd:// --storage-driver=overlay -D Let's start 20 webservers (https://hub.docker.com/r/hypriot/rpi-busybox-httpd/), i.e. starting 20 containers, and check again:
    %CPU %MEM CMD  6.5  3.4 /usr/bin/docker daemon -H fd:// --storage-driver=overlay -D Note, that this is just the Docker daemon as "container manager" instance!
     
    For each container, Docker starts 4 processes. Please do not ask me why. Let's rather have a look at CPU and RAM:
    With 20 webservers running, CPU usage in total and average is about 4%. Before starting these 20 containers, it was a bit more than 2% in average.
    RAM usage is 162 MB. Before starting the 20 containers, it was 46 MB.
     
    So in general, only the Docker daemon is put on top. For containers, Docker's footprint is about the same as if you run apps natively. For this test, I used HypriotOS (http://blog.hypriot.com/) on a Raspberry Pi 2 B.
    You also can define how much CPU and RAM a container is allowed to have at max, and also in relation to other containers. Docker offers many options to make sure you are in control about available resources.
     
    And, BTW, with some tweaking, it's possible to start 2500 containers on a single Raspberry Pi with Docker :-) -> https://blog.docker.com/2015/10/raspberry-pi-dockercon-challenge-winner/
     
    @September: I can see that several containers are running, which shows that Docker works well, awesome! Thanks for your feedback! Yeah, we are not sure yet how much work it is, but we at least try to get together...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines