Docker on Ubuntu Vivid Vervet for Power LE
Pradipta_Kumar 110000T0EC Visits (9856)
Docker is now part of Ubuntu Vivid Vervet (15.04) for Power LE. Ubuntu Vivid which just got released, includes docker (version 1.5) support. You can find the detailed release notes here.
For using docker with Vivid on either baremetal or virtual machine on Power systems , just install it from the repository, start the docker engine and off you go.
$sudo apt-get install docker.io
$sudo service docker start
$sudo docker info
Storage Driver: devicemapper
Pool Name: dock
Pool Blocksize: 65.54 kB
Backing Filesystem: extfs
$sudo docker version
Client version: 1.5.0
Client API version: 1.17
Go version (client): go1.4.2 gccgo (Ubuntu 5.1~rc1-0ubuntu1) 5.0.1 20150414 (prerelease) [gcc-5-branch revision 222102]
Git commit (client): a8a31ef
OS/Arch (client): linux/ppc64le
Server version: 1.5.0
Server API version: 1.17
Go version (server): go1.4.2 gccgo (Ubuntu 5.1~rc1-0ubuntu1) 5.0.1 20150414 (prerelease) [gcc-5-branch revision 222102]
Git commit (server): a8a31ef
Since there is no official Power image available in dockerhub you'll need to create the base image from scratch. Here is an example to create Ubuntu Trusty (14.04) base image.
$sudo apt-get install debootstrap
$sudo debootstrap --co
$sudo tar -C trusty -c . | sudo docker import - test
$sudo docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
test/ubuntu_ppc64el trusty c5efc5ec18e0 31 minutes ago 269.3 MB
$sudo docker run -itd test
Note that the image is referred along with the tag - 'trusty'. If no tag is specified, then the default tag of 'latest' is assumed and docker will try to search for the image with tag 'latest'
$ docker run -it test/ubuntu_ppc64el /bin/sh
Unable to find image 'tes
Pulling repository test/ubuntu_ppc64el
If you would like to refer to the image as above (without any explicit tag), then ensure you tag the image with 'latest'
$ docker tag test
You can also modify the image and save the image in dockerhub or your private repository for later use.
Build and Use Upstream Docker
If you want to build latest docker from source, then all the necessary tools comes with Vivid. Here are the instructions to get your started.
$sudo apt-get install gccgo binutils libsqlite3-dev btrfs-tools libdevmapper-dev
$mkdir -p ~/do
$git clone http
---> Making bundle: dyngccgo (in bund
Created binary: /hom
Created binary: /hom
And that's all. You can now start using the latest docker on your Ubuntu Vivid system.
Hope this will be useful in your docker journey on Power systems.