--- title: "Log in to a registry" description: "Find a registry's login command in TIR and log in to it with Docker." content_type: "how-to" product: "tir-container-registry" platform: "TIR" url: "/tir/tir-container-registry/how-to/log-in-to-a-registry/" topic: ["create-and-log-in"] relationships: {"requires":["/tir/tir-container-registry/how-to/create-a-registry/"]} --- # Log in to a registry Log in once from your machine before you push or pull. The login uses the registry's own username and password. ## Before you begin You need a [registry](/tir/tir-container-registry/how-to/create-a-registry/) and Docker installed on your machine. ## Log in 1. In TIR, open your project. In the side menu, under **Storage**, select **Container Registry**. 2. In the registry's row, select the button under **Commands**. 3. Copy the **Docker Login Command** and run it: ```bash docker login -u -p ``` `` is the registry address: `registry.e2enetworks.net` in Delhi and `in-south1-registry.e2enetworks.net` in Chennai. `` is the registry's **Username** from the list. `` is the registry's password, shown in the panel. Run the login once per session. The same login lets you push images and pull private ones. This username and password are the registry's only credential, so always log in with them. ## Use the registry from a pipeline The panel also shows an **ImagePullSecret** name, `namespace-secret-`. Use it to pull the registry's images from a pipeline or an Argo workflow YAML file. For help when Docker refuses the login, see [Troubleshooting TIR Container Registry](/tir/tir-container-registry/troubleshooting/tir-container-registry/). To continue, [push an image](/tir/tir-container-registry/how-to/push-an-image/).