Using a 3rd Party Registry

Quay.io is an example of a third-party registry.

Install a third party registry by logging in through your terminal and providing the third party url. For example:

$ docker login quay.io
Username ([your_username]): [your_username]
Password: [your_password]
Login Succeeded

You may need to reassign images with a new directory like so:

$ docker image tag [old_directory]/[image_name]:[tag] quay.io/[new_directory]/[image_name]:[tag] 

Now you can push and pull using the third party registry:

$ docker image push quay.io/[new_directory]/[image_name]:[tag]  # pushes to quay.io
$ docker image pull quay.io/[new_directory]/[image_name]:[tag]  # pulls from quay.io
 

I finished! On to the next chapter