As there are thousands of docker images on the public Docker hub, rkt
allows you to use them very easily. Alternatively, you might have some docker images and would like to run them with rkt
too, without building new rkt
ACI images, to see how they work with rkt
.
Running Docker images is very much the same as it was in previous examples:
As Docker images do not support signature verification yet, we just skip the verification step and fetch one with the
--insecure-skip-verify
flag:$ sudo rkt --insecure-skip-verify fetch docker://nginx
The last line shown in the preceding screenshot represents the
rkt
image ID of the converted ACI, and this can be used torun
withrkt
:$ sudo rkt --insecure-skip-verify run sha512-13a9c5295d8c13b9ad94e37b25b2feb2
Also we can run in this way, where the image will be downloaded and then run:
$ sudo rkt --insecure-skip-verify run docker://nginx
If we want to use volumes with Docker images, we run this line:
$ sudo rkt...