Sign inSign up

lukepasek/idevicerestore

By lukepasek

•Updated over 6 years ago

Docker container for the imobiledevice idevicerestore tools

Image
2

3.6K

lukepasek/idevicerestore repository overview

⁠Docker container for the excellent libimobiledevice/idevicerestore tools

libimobiledevice is "A cross-platform protocol library to communicate with iOS devices" from https://github.com/libimobiledevice⁠ ( https://libimobiledevice.org⁠ ).

Please note that this is a work in progress container, and it requires some cleanup work.

Comments/issues are welcome here: https://github.com/lukepasek/idevicerestore⁠

This is an unmodified build with an only small patch for compatibility with Alpine's musl vs glibc.

⁠Usage

Note: Before running the container make sure that usbmuxd is NOT running on the host, better yet remove/uninstall it, as it's started automatically by an udev rule when Apple device is connected/restarted.

Run (to get bash prompt):

docker run -it --privileged -v /dev/bus/usb:/dev/bus/usb --net=host lukepasek/idevicerestore:latest

(net: host is for some strange reason required to receive hotplug events in the container)

The usbmuxd daemon is started automatically in the background on the container start.

Finally, run any of the idevice* commands, or other i* commands such as irecovery.

The container can be also run in command mode:

docker run -it --privileged -v /dev/bus/usb:/dev/bus/usb --net=host lukepasek/idevicerestore:latest ideviceinfo

Optionally the container can be run with a host mounted volume to allow for downloaded image caching:

docker run -it --privileged -v /dev/bus/usb:/dev/bus/usb -v /tmp/idevicerestore_cache/:/tmp/idevicerestore_cache/ --net=host lukepasek/idevicerestore:latest

In such case, the idevicerestore command can be run with the -C /tmp/idevicerestore_cache/ option.

Tag summary

Content type

Image

Digest

Size

8.6 MB

Last updated

over 6 years ago

docker pull lukepasek/idevicerestore