boredazfcuk / docker-icloudpd

An Alpine Linux container for the iCloud Photos Downloader command line utility
1.58k stars 149 forks source link

No route to icloud.com #482

Closed 3dBenny06 closed 5 months ago

3dBenny06 commented 6 months ago

I cant initialize icloudpd image like you see it can reach icloud.com but the setup fails.

boredazfcuk commented 5 months ago

"Operation not permitted" means you have a permissions issue with your system,

It might work by adding the NET_RAW privilege but I've not tested this as it works without it on my system. To do that via command line add this when creating the container:

--cap-add=NET_RAW

or via a Docker Compose YAML file:

capabilities : 
        add: ["NET_RAW"]

If that doesn't work, try "NET_ADMIN" instead.

If that doesn't work either, you'll need to run the container privileged... via command line:

--privileged

via Docker Compose YAML:

privileged: true