{"id":345,"date":"2018-10-16T10:14:37","date_gmt":"2018-10-16T10:14:37","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw93\/?p=345"},"modified":"2018-10-17T08:17:53","modified_gmt":"2018-10-17T08:17:53","slug":"docker-ce-installing-testrc-version","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw93\/index.php\/2018\/10\/16\/docker-ce-installing-testrc-version\/","title":{"rendered":"Docker CE \u2013 Installing Test(\u201cRC\u201d) version"},"content":{"rendered":"<p>Starting with Docker 17.03, Docker introduced Community edition(CE) and Enterprise edition(CE) version of their Docker software. The release numbering also changed. From Docker 1.13.1, we jump to 17.03 version. Docker CE is the free version while Docker EE is the commercially supported enterprise version. Docker enterprise edition comes in different flavors based on the cost. Please refer this <a href=\"https:\/\/docs.docker.com\/engine\/installation\/\">link <\/a>for details on comparison between different Docker editions and the supported platforms for each editions. Both Docker CE and EE follow time based release schedule. Docker CE has 3 editions. CE \u201cstable\u201d edition gets released once every 3 months. CE \u201cedge\u201d edition gets released once every month. CE \u201ctest\u201d edition is a release candidate that gets folded into \u201cedge\u201d and \u201cstable\u201d versions. I have used Docker release candidate(\u201ctest\u201d edition) to try out new features before they get released. The steps to install release candidate Docker version is slightly different from installing \u201cstable\u201d and \u201cedge\u201d versions. Docker CE 17.06.0-ce-rc2 got released few days back and I have started trying out the new features in this version. This is a precursor to 17.06 release that will happen in few weeks. In this blog, I will cover installation steps for Docker CE edition release candidate software versions. I have focused on 17.06.0-ce-rc2, but the steps applies to any release candidate versions. The 3 approaches I have tried are installation from Docker static binaries, Docker machine with boot2docker and installation in Ubuntu platform with package manager.<\/p>\n<h3>Installation using Docker machine<\/h3>\n<p>When Docker RC version is released, the corresponding boot2docker image also gets released. I used the steps below to to the installation.<\/p>\n<p>docker-machine create -d virtualbox &#8211;virtualbox-boot2docker-url https:\/\/github.com\/boot2docker\/boot2docker\/releases\/download\/v17.06.0-ce-rc2\/boot2docker.iso docker-rc2<\/p>\n<p>I have used docker-machine 0.10.0. I have tried the above steps in both Linux and Windows platforms.<\/p>\n<h3>Installation using Package manager<\/h3>\n<p>This approach is used to install on native Linux systems. I tried this on Ubuntu 14.04 system, the steps below are specific to Ubuntu platform. The steps should be similar for other Linux flavors as well using the corresponding package manager associated with the flavor. To make it easy to move between Docker \u201cstable\u201d, \u201cedge\u201d and \u201ctest\u201d versions, I remove the old Docker version and then install the new version. Following are the steps I followed to move from Docker \u201cedge\u201d 17.05-ce version to \u201ctest\u201d 17.06-ce-rc2.<\/p>\n<p>Remove old Docker version:<\/p>\n<p>sudo apt-get -y remove docker-ce<\/p>\n<p>Remove \u201cedge\u201d from repository list:<\/p>\n<p>sudo add-apt-repository &#8211;remove<br \/>\n&#8220;deb [arch=amd64] https:\/\/download.docker.com\/linux\/ubuntu<br \/>\n$(lsb_release -cs)<br \/>\nedge&#8221;<\/p>\n<p>Add \u201ctest\u201d to repository list:<\/p>\n<p>sudo add-apt-repository<br \/>\n&#8220;deb [arch=amd64] https:\/\/download.docker.com\/linux\/ubuntu<br \/>\n$(lsb_release -cs)<br \/>\ntest&#8221;<\/p>\n<p>Update and install Docker:<\/p>\n<p>sudo apt-get update<br \/>\nsudo apt-get -y install docker-ce<\/p>\n<p>The install would pick the latest version associated with \u201cstable\u201d, \u201cedge\u201d or \u201ctest\u201d. The procedure above can be used to migrate from any latest combination of \u201cstable\u201d, \u201cedge\u201d or \u201ctest\u201d channels.<\/p>\n<h3>Installation using Static binary<\/h3>\n<p>This approach is advisable only for testing purposes. I followed the steps in this <a href=\"https:\/\/docs.docker.com\/engine\/installation\/binaries\/\">link <\/a>for the installation.<\/p>\n<p>Following are the commands I used for installation in Ubuntu 14.04:<\/p>\n<p>export DOCKER_CHANNEL=test<br \/>\ncurl -fL -o docker.tgz &#8220;https:\/\/download.docker.com\/linux\/static\/$\/x86_64\/docker-17.06.0-ce-rc2-x86_64.tgz&#8221;<br \/>\ntar &#8211;extract &#8211;file docker.tgz &#8211;strip-components 1 &#8211;directory \/usr\/local\/bin\/<\/p>\n<p>Docker binaries would be in \/usr\/local\/bin. When Docker is installed using package manager, docker binaries are in \/usr\/bin. If \/usr\/local\/bin is higher up in the path, this version would be picked. This approach allows us to switch between versions easily.<\/p>\n<p>Following is the Docker version running after installation using any of the 3 above approaches:<\/p>\n<p>$ docker version<br \/>\nClient:<br \/>\nVersion: 17.06.0-ce-rc2<br \/>\nAPI version: 1.30<br \/>\nGo version: go1.8.3<br \/>\nGit commit: 402dd4a<br \/>\nBuilt: Wed Jun 7 10:04:51 2017<br \/>\nOS\/Arch: linux\/amd64<\/p>\n<p>Server:<br \/>\nVersion: 17.06.0-ce-rc2<br \/>\nAPI version: 1.30 (minimum version 1.12)<br \/>\nGo version: go1.8.3<br \/>\nGit commit: 402dd4a<br \/>\nBuilt: Wed Jun 7 10:03:45 2017<br \/>\nOS\/Arch: linux\/amd64<br \/>\nExperimental: true<\/p>\n<p>If there are any Docker topics that you would like more details, please let me know.<\/p>\n<p><a href=\"https:\/\/sreeninet.wordpress.com\/2017\/06\/12\/docker-ce-installing-testrc-version\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Starting with Docker 17.03, Docker introduced Community edition(CE) and Enterprise edition(CE) version of their Docker software. The release numbering also changed. From Docker 1.13.1, we jump to 17.03 version. Docker CE is the free version while Docker EE is the commercially supported enterprise version. Docker enterprise edition comes in different flavors based on the cost. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw93\/index.php\/2018\/10\/16\/docker-ce-installing-testrc-version\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Docker CE \u2013 Installing Test(\u201cRC\u201d) version&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-345","post","type-post","status-publish","format-standard","hentry","category-docker"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw93\/index.php\/wp-json\/wp\/v2\/posts\/345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw93\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw93\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw93\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw93\/index.php\/wp-json\/wp\/v2\/comments?post=345"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw93\/index.php\/wp-json\/wp\/v2\/posts\/345\/revisions"}],"predecessor-version":[{"id":486,"href":"https:\/\/www.appservgrid.com\/paw93\/index.php\/wp-json\/wp\/v2\/posts\/345\/revisions\/486"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw93\/index.php\/wp-json\/wp\/v2\/media?parent=345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw93\/index.php\/wp-json\/wp\/v2\/categories?post=345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw93\/index.php\/wp-json\/wp\/v2\/tags?post=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}