Docker Installation

Run Remote Code Uplink inside a Docker container

Add to Your Dockerfile

Add these lines to your Dockerfile to install Remote Code Uplink:

Sample Dockerfile:

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.

Running Your Container

When running your container, set the machine key environment variable:

Docker Run Examples:

# 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

Docker Compose:

version: '3.8'
services:
  your-service:
    build: .
    environment:
      - REMOTE_CODE_MACHINE_KEY=your-machine-key-here

Getting Your Machine Key

Get your machine key directly from the Remote Code mobile app:

1

Install the Remote Code app

Download the Remote Code iOS app from TestFlight and sign in

2

Generate machine key

In the app, go to Settings and tap "Generate Machine Key" to create a new key for your Docker container

3

Copy and use the key

Copy the generated machine key and use it in your Docker environment configuration. The key is already activated and ready to use!