kopia lustrzana https://github.com/linuxserver/docker-documentation
Bot Updating Documentation
rodzic
1c9844b257
commit
f5a67dab28
|
@ -10,6 +10,7 @@ title: code-server
|
|||
[](https://github.com/linuxserver/docker-code-server/releases)
|
||||
[](https://github.com/linuxserver/docker-code-server/packages)
|
||||
[](https://gitlab.com/linuxserver.io/docker-code-server/container_registry)
|
||||
[](https://quay.io/repository/linuxserver.io/code-server)
|
||||
[](https://hub.docker.com/r/linuxserver/code-server)
|
||||
[](https://hub.docker.com/r/linuxserver/code-server)
|
||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-code-server/job/master/)
|
||||
|
@ -27,7 +28,7 @@ title: code-server
|
|||
|
||||
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 `ghcr.io/linuxserver/code-server` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
|
||||
Simply pulling `lscr.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:
|
||||
|
||||
|
@ -72,7 +73,7 @@ To help you get started creating a container from this image you can either use
|
|||
version: "2.1"
|
||||
services:
|
||||
code-server:
|
||||
image: ghcr.io/linuxserver/code-server
|
||||
image: lscr.io/linuxserver/code-server
|
||||
container_name: code-server
|
||||
environment:
|
||||
- PUID=1000
|
||||
|
@ -106,7 +107,7 @@ docker run -d \
|
|||
-p 8443:8443 \
|
||||
-v /path/to/appdata/config:/config \
|
||||
--restart unless-stopped \
|
||||
ghcr.io/linuxserver/code-server
|
||||
lscr.io/linuxserver/code-server
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
@ -138,6 +139,11 @@ Docker images are configured using parameters passed at runtime (such as those a
|
|||
| :----: | --- |
|
||||
| `/config` | Contains all relevant configuration files. |
|
||||
|
||||
#### Miscellaneous Options
|
||||
|
||||
| Parameter | Function |
|
||||
| :-----: | --- |
|
||||
|
||||
## Environment variables from files (Docker secrets)
|
||||
|
||||
You can set any environment variable from a file by using a special prepend `FILE__`.
|
||||
|
@ -183,7 +189,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
|
|||
* Container version number
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' code-server`
|
||||
* Image version number
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' ghcr.io/linuxserver/code-server`
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/code-server`
|
||||
|
||||
## Versions
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue