I have a docker image of an angular application. Now I need to host it on our office server(Ex:100.x.x.x). So, I used a command like the below.
docker run --add-host=ssh:100.x.x.x -p 4211:4211 --rm -it image_name
I don’t have superuser permission to check whether the docker image is running or not.
I ended up getting error like,
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/json: dial unix /var/run/docker.sock: connect: permission denied
How can I deploy my docker image on my office server and how can I run it. What is the technique I should use to check it in chrome?