# Error Encounter
maybe this will hepl you to find a solution of your problem you face
## your not a sudoers
this is indicate your profile not a sudoers
```
sudo visudo
```
add permission to your profile under root
```
root ALL=(ALL:ALL) ALL
profile ALL=(ALL:ALL) ALL
```
## no basic auth credentials and conection problem
If you can't pull the image for your Docker, you can log in using the command below. If you need a username and password, please contact the author.
```
docker login docker.senomas.com
```
If you still get errors with the Docker connection, maybe you haven't added your user to the Docker group
check if the group is exist
```
grep '^docker:' /etc/group
```
If the 'docker' group doesn't exist, you can create it:
```
sudo groupadd docker
```
you can change the name of group by the error example docker_group / group_docker / etc.
Add your user to the 'docker' group:
```
sudo usermod -aG docker $USER
```
then restart docker
```
sudo systemctl restart docker
```
## Permissions '/home/node/.ssh/id_rsa' are too open
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key `"/home/node/.ssh/id_rsa"`: bad permissions
goto folder referense check the user permission change rule of permission folder
```
chmod 700 id_rsa
```
## Connect to the Docker daemon
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json": dial unix /var/run/docker.sock: connect: permission denied
server-jenkins-jenkins-1 | groupadd: group 'jenkins_docker' already exists
## docker: 'compose' is not a docker command
if you can't run the `docker compose` command but can only run `docker-compose`
```
https://docs.docker.com/engine/install/ubuntu/
```