O'Reilly logo

CoreOS Essentials by Rimantas Mocevicius

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Converting Docker images into ACI

With CoreOS comes another file related to rktdocker2aci. It converts a docker image to an ACI image (an application container image used by rkt).

Let's convert our nginx image. Run the following command:

$ docker2aci docker://nginx
Converting Docker images into ACI

We can also save a docker image in a file and the convert it. Run the following command:

$ docker save -o nginx.docker nginx
$ docker2aci nginx.docker
Converting Docker images into ACI

Finally, you can try to use the generated ACI files by updating the preceding nginx.service fleet unit:

[Unit]
Description=nginx
[Service] ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required