Hey,
I wanted to establish a connection to the local Docker Engine in my Swift app for MacOS, but I'm already stuck at the simple connection setup.
I call the following code in a method:
let DockerWebServiceClient : DockerClient = DockerClient();
defer {try! DockerWebServiceClient.syncShutdown()}
let info = try await DockerWebServiceClient.info()
print("• Docker daemon info: \(info)")
and get the error message:
connect(descriptor:addr:size:): Operation not permitted (errno: 1)
I have already checked that the local Docker Engine is running. I don't know what the problem is, with my user I can call commands like "docker ps" etc. in the terminal.
Hey, I wanted to establish a connection to the local Docker Engine in my Swift app for MacOS, but I'm already stuck at the simple connection setup.
I call the following code in a method:
and get the error message: connect(descriptor:addr:size:): Operation not permitted (errno: 1)
I have already checked that the local Docker Engine is running. I don't know what the problem is, with my user I can call commands like "docker ps" etc. in the terminal.
Best regards ;)