# How to fix Error response from daemon: pull access denied for your_username/your_repository

It's already Friday, and I'm delighted 😉 to see you here.

Another day of problem-solving, so we'll see how it goes.

When I tried to pull from Docker Hub, I ran into the same problem, and here's how I solved it after some digging.

## Login

We'll need to log in or confirm that we're logged in to our Docker Hub account via the terminal, which we can do with the command below.

The -u option allows us to pass our user name.

```
docker login -u your_user_name  
```

To see options for logging in :

```
docker login --help
```

A prompt will request for our password for DockerHub similar to what we have in the screenshot below:

![docker login_result.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1633609587212/wY2aUoPMH.png)

Now we can successfully `push` and `pull` repository,

Using the command below to `push` repository to our docker hub

```
docker push your_username/your_repository
```

to pull, we will use the command below:

```
docker pull your_username/your_repository
```

Yeah, that's all 😉😊 you just fixed that error.

I'd love to connect via [Twitter](https://twitter.com/olanetsoft) | [LinkedIn](https://www.linkedin.com/in/olubisi-idris-ayinde-05727b17a/) | [GitHub](https://github.com/Olanetsoft)

See you next Friday in [DevOpsFriday](https://blog.idrisolubisi.com/series/devops) series. Take care!!!

