How to for use Docker with Grinch Kernel 21.3.3
Read first:
I do not know if this is to be, but after installing Docker, Jetson effectively uses only one cpu core. Please advise whether it should be . Maybe it’s a matter of cgroup-lite package!
Requirments:
- The Grinch Custom Kernel 21.3.3 or above
- Install software
sudo apt-get install lxc aufs-tools cgroup-lite apparmor docker.io
- Check docker installation
sudo docker info
Containers: 0
Images: 0
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Dirs: 0
Execution Driver: native-0.2
Kernel Version: 3.10.40-grinch-21.3.3
- Find image
sudo docker search armhf-
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
armv7/armhf-ubuntu 'official' Ubuntu Docker images for the AR... 5
mazzolino/armhf-debian Debian Wheezy base image for armhf devices 4
mazzolino/armhf-ubuntu Ubuntu-Core images for armhf (ARMv7) devices 4
armv7/armhf-archlinux archlinux arm Docker image for the ARMv7(a... 3
hominidae/armhf-ubuntu ubuntu trusty/14.04 image (minbase) for ar... 2
armv7/armhf-ubuntu_core Ubuntu Core Docker images for the ARMv7(ar... 2
armv7/armhf-fedora minimal fedora 21, 20 Docker images for th... 1
hominidae/armhf-wheezy armhf image of Debian Wheezy, made with de... 1
armbuild/ubuntu-debootstrap ARMHF port of ubuntu-debootstrap 1 [OK]
rcarmo/armhf-ubuntu Ubuntu 14.04.2 for armhf devices 0
mazzolino/armhf-nginx Nginx image for armhf devices 0
troyfontaine/armhf-nginx Nginx for ARMHF 0
dpniel/dekko-armhf armhf utopic image to build dekko click pa... 0
kickinz1/owncloud-8.0.2-sqlite3-armhf Owncloud armhf image for snappy use 0
hominidae/armhf-supervisord ubuntu trusty/14.04 for armhf architecure ... 0
dehy/armhf-swarm ARMHF port of docker-swarm 0
moul/armhf-busybox 0 [OK]
flisboac/docker-armhf-phabricator 0 [OK]
kickinz1/ubuntu-armhf Base image for ubuntu trusty on armhf 0
armv7/armhf-baseimage Ubuntu Docker images for the ARMv7(armhf) ... 0
mazzolino/armhf-prosody Secured Prosody XMPP server for armhf (ARM... 0
dehy/armhf-couchdb ARMHF port of klaemo/couchdb 0
eagos/node-armhf Node JS for armhf devices. 0
mazzolino/armhf-tiddlywiki Tiddywiki5 on NodeJS for armhf (ARMv7) dev... 0
zsoltm/ubuntu-armhf Ubuntu 14.04.1 minimal install, latest upd... 0
- Run/download image
sudo docker run armv7/armhf-ubuntu_core /bin/echo 'Hello world'
Unable to find image 'armv7/armhf-ubuntu_core' locally
Pulling repository armv7/armhf-ubuntu_core
ffb007497c55: Download complete
Hello world
- List images
sudo docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
armv7/armhf-ubuntu_core latest ffb007497c55 2 days ago 108.4 MB