[Code-server](https://coder.com) is VS Code running on a remote server, accessible through the browser.
[Code-server](https://coder.com) is VS Code running on a remote server, accessible through the browser.
- Code on your Chromebook, tablet, and laptop with a consistent dev environment.
- Code on your Chromebook, tablet, and laptop with a consistent dev environment.
...
@@ -52,7 +52,7 @@ Find us at:
...
@@ -52,7 +52,7 @@ Find us at:
Our images support multiple architectures such as `x86-64`, `arm64` and `armhf`. We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
Our images support multiple architectures such as `x86-64`, `arm64` and `armhf`. We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
Simply pulling `linuxserver/code-server` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
Simply pulling `ghcr.io/linuxserver/code-server` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
The architectures supported by this image are:
The architectures supported by this image are:
...
@@ -84,7 +84,7 @@ Compatible with docker-compose v2 schemas.
...
@@ -84,7 +84,7 @@ Compatible with docker-compose v2 schemas.
version: "2.1"
version: "2.1"
services:
services:
code-server:
code-server:
image: linuxserver/code-server
image: ghcr.io/linuxserver/code-server
container_name: code-server
container_name: code-server
environment:
environment:
- PUID=1000
- PUID=1000
...
@@ -114,7 +114,7 @@ docker run -d \
...
@@ -114,7 +114,7 @@ docker run -d \
-p 8443:8443 \
-p 8443:8443 \
-v /path/to/appdata/config:/config \
-v /path/to/appdata/config:/config \
--restart unless-stopped \
--restart unless-stopped \
linuxserver/code-server
ghcr.io/linuxserver/code-server
```
```
...
@@ -189,7 +189,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
...
@@ -189,7 +189,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
* container version number
* container version number
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' code-server`
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' code-server`
* image version number
* image version number
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/code-server`
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' ghcr.io/linuxserver/code-server`
## Updating Info
## Updating Info
...
@@ -205,7 +205,7 @@ Below are the instructions for updating containers:
...
@@ -205,7 +205,7 @@ Below are the instructions for updating containers:
* You can also remove the old dangling images: `docker image prune`
* You can also remove the old dangling images: `docker image prune`
### Via Docker Run
### Via Docker Run
* Update the image: `docker pull linuxserver/code-server`
* Update the image: `docker pull ghcr.io/linuxserver/code-server`
* Stop the running container: `docker stop code-server`
* Stop the running container: `docker stop code-server`
* Delete the container: `docker rm code-server`
* Delete the container: `docker rm code-server`
* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
...
@@ -235,7 +235,7 @@ cd docker-code-server
...
@@ -235,7 +235,7 @@ cd docker-code-server
docker build \
docker build \
--no-cache \
--no-cache \
--pull \
--pull \
-t linuxserver/code-server:latest .
-t ghcr.io/linuxserver/code-server:latest .
```
```
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`