On Wednesday, 8 May 2024 04:55:51 ACST Carlos E. R. wrote:
On 2024-05-07 21:14, Darryl Gregorash wrote:
On 2024-05-07 12:38, Carlos E. R. wrote:
On 2024-05-07 15:56, Simon Lees wrote:
On 5/7/24 9:27 PM, Carlos E. R. wrote:
On 2024-05-07 12:32, Simon Lees wrote:
...
cer@Isengard:~> docker run -p 8080:8080 -v /data/hoard_2/osuse_cache/:/tmp/osuse_cache/ -u X:X firstyear/opensuse_proxy_cache:latest docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?. See 'docker run --help'. cer@Isengard:~>
Running "systemctl start docker".
cer@Isengard:~> docker run -p 8080:8080 -v /data/hoard_2/osuse_cache/:/tmp/osuse_cache/ -u X:X firstyear/opensuse_proxy_cache:latest docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create": dial unix /var/run/docker.sock: connect: permission denied. See 'docker run --help'. cer@Isengard:~>
I don't have docker installed, but all that suggests to me that there is a socket that needs to be opened first -- though I would have figured that the service file /should/ take care of that.
What is the output of systemctl status docker.socket ?
No, it has to be run as root. I was trying as user.
And then I have to create some user X.
This thing needs more instructions. [...]
Add your username to the docker group. -- ========================================================================================================== Rodney Baker rodney.baker@outlook.com.au ==========================================================================================================