Skip to content

Commit

Permalink
adapt to organization changes
Browse files Browse the repository at this point in the history
  • Loading branch information
itsnebulalol committed Aug 31, 2022
1 parent 0771a9b commit 54fdfe0
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions docs/usage/run-in-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
description: Run Permasigner in the official Docker container.
---

**TLDR:** The Docker command is:
**TLDR:** The Docker commands are:
* Pull the container with `docker pull ghcr.io/permasigner/permasigner`
* To permasign:
* \[Windows] `docker run -it --rm -v ${pwd}/output:/permasigner/output -v ${pwd}/ipas:/permasigner/ipas itsnebulalol/permasigner`
* \[Linux/macOS] `docker run -it --rm -v "$PWD/output":/permasigner/output -v "$PWD/ipas":/permasigner/ipas -e DEBUG=1 itsnebulalol/permasigner`
* \[Windows] `docker run -it --rm -v ${pwd}/output:/permasigner/output -v ${pwd}/ipas:/permasigner/ipas permasigner/permasigner`
* \[Linux/macOS] `docker run -it --rm -v "$PWD/output":/permasigner/output -v "$PWD/ipas":/permasigner/ipas -e DEBUG=1 permasigner/permasigner`
* To permasign and install produced deb to your device (must be connected):
* \[Windows] `docker run -it --rm -v ${pwd}/output:/permasigner/output -v ${pwd}/ipas:/permasigner/ipas -e DEBUG=1 -e WINDOWS=1 -e INSTALL=1 itsnebulalol/permasigner`
* \[Linux/macOS] `docker run -it --privileged --rm -p 2222:2222 -v /var/run/usbmuxd:/var/run/usbmuxd -v "$PWD/output":/permasigner/output -v "$PWD/ipas":/permasigner/ipas -e DEBUG=1 -e INSTALL=1 itsnebulalol/permasigner`
* \[Windows] `docker run -it --rm -v ${pwd}/output:/permasigner/output -v ${pwd}/ipas:/permasigner/ipas -e DEBUG=1 -e WINDOWS=1 -e INSTALL=1 permasigner/permasigner`
* \[Linux/macOS] `docker run -it --privileged --rm -p 2222:2222 -v /var/run/usbmuxd:/var/run/usbmuxd -v "$PWD/output":/permasigner/output -v "$PWD/ipas":/permasigner/ipas -e DEBUG=1 -e INSTALL=1 permasigner/permasigner`

---

Expand All @@ -17,15 +18,15 @@ description: Run Permasigner in the official Docker container.
* \[Windows] Hold Win + R and type `powershell`.
* \[macOS] Terminal from the Utilities folder or spotlight.
* \[Linux] Ctrl + Shift + T on most distros.
* Pull the container with `docker pull docker.io/itsnebulalol/permasigner`
* Pull the container with `docker pull ghcr.io/permasigner/permasigner`
* Create `output` and `ipas` directories.
* Launch the Docker container with:
* To permasign:
* \[Windows] `docker run -it --rm -v ${pwd}/output:/permasigner/output -v ${pwd}/ipas:/permasigner/ipas itsnebulalol/permasigner`.
* \[Linux/macOS] `docker run -it --rm -v "$PWD/output":/permasigner/output -v "$PWD/ipas":/permasigner/ipas itsnebulalol/permasigner`
* \[Windows] `docker run -it --rm -v ${pwd}/output:/permasigner/output -v ${pwd}/ipas:/permasigner/ipas permasigner/permasigner`.
* \[Linux/macOS] `docker run -it --rm -v "$PWD/output":/permasigner/output -v "$PWD/ipas":/permasigner/ipas permasigner/permasigner`
* To permasign and install produced deb to your device (must be connected):
* \[Windows] `docker run -it --rm -v ${pwd}/output:/permasigner/output -v ${pwd}/ipas:/permasigner/ipas -e DEBUG=1 -e WINDOWS=1 -e INSTALL=1 itsnebulalol/permasigner`
* \[Linux/macOS] `docker run -it --privileged --rm -p 2222:2222 -v /var/run/usbmuxd:/var/run/usbmuxd -v "$PWD/output":/permasigner/output -v "$PWD/ipas":/permasigner/ipas -e DEBUG=1 -e INSTALL=1 itsnebulalol/permasigner`
* \[Windows] `docker run -it --rm -v ${pwd}/output:/permasigner/output -v ${pwd}/ipas:/permasigner/ipas -e DEBUG=1 -e WINDOWS=1 -e INSTALL=1 permasigner/permasigner`
* \[Linux/macOS] `docker run -it --privileged --rm -p 2222:2222 -v /var/run/usbmuxd:/var/run/usbmuxd -v "$PWD/output":/permasigner/output -v "$PWD/ipas":/permasigner/ipas -e DEBUG=1 -e INSTALL=1 permasigner/permasigner`
* Send the deb file to your iDevice
* The script can do that for you, you will be asked to input the user password for ssh access.
* Airdropping the file is probably the easiest, but you can use something like Dropbox or Mega. Advanced users can use openssh-sftp-server from Procursus.
Expand Down

0 comments on commit 54fdfe0

Please sign in to comment.