From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 2 File Access, Storage, and Security

Unlock the full course today

Join today to access over 23,300 courses taught by industry experts.

Working with container images

Working with container images

- [Instructor] There will be a time when you have to manage container images, including copying them to other registries or backing them up. Using the skopeo copy command, you can copy a container image from one registry to another. This might be useful if you want to populate an internal repository with images from external registries. The syntax isn't that much different from the secure copy command. This will copy the latest stable image from quay.io to a fictitious registry at registry.example.com. You can also use the skopeo copy command to copy layers of a container to a local directory. For this exercise, create a directory in your user's home to have an mkdir, space dash P to create parent directories, space dollar sign uppercase home slash .local, slash share slash images and hit Enter. Now copy the latest Nginx layer to the directory. You'll specify the local directory using the dir colon prefix. Type in skopeo,…

Contents