English 中文(简体)
当用 Rancher 桌面运行本地堆放桌面时, 为什么有 docker 套接字连接错误?
原标题:When run LocalStack Desktop with Rancher Desktop, why got docker socket connect error?

Rancher 桌面正在运行,

localstack start

即便如此,API也在运行:

aws s3 mb s3://my-first-bucket --endpoint-url=http://localhost:4566

但当浏览器访问时 :

http://localhost:4566

有一个空白页。

当启动本地堆放桌面时, 它显示无法连接到 docker 套接字 :

本地文件不存在 :

/var/run/docker.sock

它是什么 如何创造它 为什么在这种情况下有必要?

问题回答

我必须把那里连接到 .rd/docker.sock

sudo ln -s ~$USER/.rd/docker.sock /var/run/docker.sock




相关问题
Max Outgoing Socket Connections in .NET/Windows Server

I have a slightly unusual situation where I m needing to maintain CLIENT tcp connections to another server for thousands of mobile users on my servers (basically the mobile devices connect to my ...

Determine the remaining TTL of a multicast packet in Java

If I have a Java program that listens to multicast data, how can I tell what the remaining TTL of the incoming datagram is? I know how to set the TTL on the sending multicast socket, but I want to ...

Python socket not receiving anything

I m trying to receive a variable length stream from a camera with python, but get weird behaviour. This is Python 2.6.4 (r264:75706) on linux(Ubuntu 9.10) The message is supposed to come with a ...

Connecting to a Source game server in VB.NET

I m developing an application that detects Source-based games running on the LAN. Following up on the specifications provided by Valve, I have it narrowed down to exactly what I want: making a UDP ...

What can cause select to block in Python?

Here s a snippet of code I m using in a loop: while True: print loop rlist, wlist, xlist = select.select(readers, [], [], TIMEOUT) print selected # do stuff At a certain point, ...

Socket.UseOnlyOverlappedIO?

Does anyone know what Socket.UseOnlyOverlappedIO does, and if so, does it affect performance? There seems to be no real explanation on MSDN. Thanks in advance.

热门标签