Run Remote Code Uplink inside a Docker container
Add these lines to your Dockerfile to install Remote Code Uplink:
FROM alpine:3.14
RUN apk add --no-cache curl bash
RUN curl -fsSL https://remote-code.com/install.sh | bash
ENTRYPOINT ["/root/.remote-code/bin/remote-code"]
Note:
The REMOTE_CODE_MACHINE_KEY environment variable should be set when running the container with your actual machine key.
When running your container, set the machine key environment variable:
# Using -machine-key flag
docker run --rm remote-code -machine-key your-machine-key-here
# Using environment variable
docker run --rm -e REMOTE_CODE_MACHINE_KEY=your-machine-key-here remote-code
version: '3.8'
services:
your-service:
build: .
environment:
- REMOTE_CODE_MACHINE_KEY=your-machine-key-here
Get your machine key directly from the Remote Code mobile app:
Download the Remote Code iOS app from TestFlight and sign in
In the app, go to Settings and tap "Generate Machine Key" to create a new key for your Docker container
Copy the generated machine key and use it in your Docker environment configuration. The key is already activated and ready to use!