News, tips, partners, and perspectives for Oracle’s virtualization offerings

Upgrade to Oracle Container Runtime for Docker Release 17.06

Honglin Su
Sr. Director of Product Management

Oracle Container Runtime allows you to create and distribute applications across Oracle Linux systems and other operating systems that support Docker. Oracle Container Runtime for Docker consists of the Docker Engine, which packages and runs the applications, and integrates with the Docker Hub, Docker Store and Oracle Container Registry to share the applications in a Software-as-a-Service (SaaS) cloud.

The Oracle Container Runtime for Docker Release 17.06 is the latest release available on Oracle Linux 7 (x86_64). The current release of Oracle Container Runtime for Docker is based on the upstream Docker 17.06 release and incorporates the changes present in subsequent upstream releases since the previous release.

Here's an example to show the easy upgrade from an earlier version of Docker engine 17.03.1-ce to the latest release 17.06.

# docker --version
Docker version 17.03.1-ce, build 276fd32

Before the upgrade, make sure that you subscribe to the appropriate channels from Oracle Unbreakable Linux Network (ULN):

  • Oracle Linux 7 Addons (x86_64)
  • Oracle Linux 7 Latest (x86_64)
  • Unbreakable Enterprise Kernel Release 4 for Oracle Linux 7 (x86_64)

Similarly, if you are using Oracle Linux Yum Server, enable ol7_latest, ol7_uekr4 and ol7_addons channels in your Oracle Linux 7 yum repository setting.

Next you simply run yum upgrade docker-engine command to perform the upgrade. If it's a fresh install, use yum install docker-engine.

# yum upgrade docker-engine
Loaded plugins: langpacks, rhnplugin, ulninfo
This system is receiving updates from ULN.
ol7_x86_64_addons                                        | 1.2 kB     00:00
ol7_x86_64_addons/updateinfo                             |  39 kB     00:00
ol7_x86_64_addons/primary                                |  77 kB     00:00
ol7_x86_64_addons                                                       247/247
Resolving Dependencies
--> Running transaction check
---> Package docker-engine.x86_64 0:17.03.1.ce-3.0.1.el7 will be updated
---> Package docker-engine.x86_64 0:17.06.2.ol-1.0.1.el7 will be an update
--> Processing Dependency: container-selinux >= 2.9 for package: docker-engine-17.06.2.ol-1.0.1.el7.x86_64
--> Running transaction check
---> Package container-selinux.noarch 2:2.21-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

 Package             Arch     Version                 Repository           Size
 docker-engine       x86_64   17.06.2.ol-1.0.1.el7    ol7_x86_64_addons    21 M
Installing for dependencies:
 container-selinux   noarch   2:2.21-1.el7            ol7_x86_64_addons    28 k

Transaction Summary
Install             ( 1 Dependent package)
Upgrade  1 Package

Total download size: 21 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for ol7_x86_64_addons
(1/2): container-selinux-2.21-1.el7.noarch.rpm           |  28 kB     00:00
(2/2): docker-engine-17.06.2.ol-1.0.1.el7.x86_64.rpm     |  21 MB     00:12
Total                                              1.6 MB/s |  21 MB  00:13
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 2:container-selinux-2.21-1.el7.noarch                        1/3
  Updating   : docker-engine-17.06.2.ol-1.0.1.el7.x86_64                    2/3
  Cleanup    : docker-engine-17.03.1.ce-3.0.1.el7.x86_64                    3/3
  Verifying  : docker-engine-17.06.2.ol-1.0.1.el7.x86_64                    1/3
  Verifying  : 2:container-selinux-2.21-1.el7.noarch                        2/3
  Verifying  : docker-engine-17.03.1.ce-3.0.1.el7.x86_64                    3/3

Dependency Installed:
  container-selinux.noarch 2:2.21-1.el7

  docker-engine.x86_64 0:17.06.2.ol-1.0.1.el7


Verify you've installed the latest version:

# docker --version
Docker version 17.06.2-ol, build d02b7ab

To learn more, read the documentation

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.