Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker: unauthorized: authentication required error when running the docker run command #16

Open
Previesam opened this issue Jun 22, 2023 · 4 comments

Comments

@Previesam
Copy link

I am not sure what I am doing wrong see system information below.

System: Ubuntu 22.04. 8gb ram, Intel core i5.
Docker version 20.10.21, build baeda1f

Command;

CID=$(sudo docker run --privileged --name freeswitch -p 5060:5060/tcp -p 5060:5060/udp -p 5080:5080/tcp -p 5080:5080/udp -p 8021:8021/tcp -p 7443:7443/tcp -p 60535-65535:60535-65535/udp -v /home/ubuntu/freeswitch/conf:/usr/local/freeswitch/conf bettervoice/freeswitch-container:1.6.6);

Result:

docker: unauthorized: authentication required.
See 'docker run --help'.]

Thank you in anticipation of your help.

@darless
Copy link
Contributor

darless commented Jun 23, 2023

That error looks associated with general docker authentication, meaning not with running the container, but pulling down the container. Try pulling down the image from dockerhub manually and see if you have the same error, if you do then it's an auth issue in ~/.docker/config.json, for dockerhub you generally don't need any authentication as it's publicly readable.

docker pull bettervoice/freeswitch-container:1.6.6

@Previesam
Copy link
Author

Previesam commented Jun 24, 2023 via email

@darless
Copy link
Contributor

darless commented Jun 24, 2023

If there is nothing further for this, please close the GitHub issue.

@Previesam
Copy link
Author

Previesam commented Jun 26, 2023

Okay this is not really related though. So, I am getting the error bellow.

 * Starting SNMP services:
freeswitch is not configured so not starting.
Please review /usr/local/doc/freeswitch/README.Debian

Where can I find the configuration files in this install? And which configuration are actually required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants