Posts

Post marked as solved
7 Replies
1.6k Views
Hi.I'm trying to connect to docker.sock from my application, but when i enable sandbox entitlement i get following error in console:deny(1) network-outbound /Users/mihaildemidoff/Library/Containers/com.docker.docker/Data/docker.sockMy environment:OSX 10.15.2Docker client https://github.com/valeriomazzeo/docker-client-swiftSwift 5.1.3Code snippet to reproduce(docker should be installed):let dockerClient = DockerClient(unixSocketPath: "/var/run/docker.sock") let url = URL(string: "http:/v1.24/containers/json?all=1")! let request = URLRequest(url: url) let result = try dockerClient.respond(to: request)I tried many solutions, but failed with each. So, is it possible to connect to unix socket(especially to docker socket) from sandboxed application? Thanks
Posted Last updated
.