Running VScode an IPad
Overview
The iPad pro boasts a powerful chip, but its productivity features remain somewhat limited. While iPadOS doesn’t currently support VSCode, there are several workarounds to enable coding on the iPad, taking advantage of its exceptional touch support and stunning HDR screen.
https://github.com/coder/code-server
https://docs.linuxserver.io/images/docker-code-server/
Setting up docker running code-server
FROM lscr.io/linuxserver/code-server:latest
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
build-essential \
software-properties-common \
git \
python3-pip \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
WORKDIR /app
COPY . /app
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
Automated building and running using Docker Compose
services:
code-server:
# image: lscr.io/linuxserver/code-server:latest
build: .
container_name: code-server
runtime: nvidia
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- PASSWORD= #optional
- HASHED_PASSWORD= #optional
- SUDO_PASSWORD= #optional
- SUDO_PASSWORD_HASH= #optional
- PROXY_DOMAIN=code-server.my.domain #optional
- DEFAULT_WORKSPACE=/config/workspace #optional
- NVIDIA_VISIBLE_DEVICES=all
volumes:
- /path/to/appdata/config:/config
- ../../:/config/workspace
ports:
- 8443:8443
Enjoy Reading This Article?
Here are some more articles you might like to read next: