sforkowany z mirror/docker-cloud9
Bot Updating Templated Files
rodzic
52e4a0e708
commit
2dcfa7abf8
40
README.md
40
README.md
|
@ -46,29 +46,29 @@ Find us at:
|
|||
|
||||
## Supported Architectures
|
||||
|
||||
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/).
|
||||
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 `lscr.io/linuxserver/cloud9` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
|
||||
Simply pulling `lscr.io/linuxserver/cloud9:ruby` 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:
|
||||
|
||||
| Architecture | Tag |
|
||||
| :----: | --- |
|
||||
| x86-64 | amd64-latest |
|
||||
| arm64 | arm64v8-latest |
|
||||
| armhf | arm32v7-latest |
|
||||
| Architecture | Available | Tag |
|
||||
| :----: | :----: | ---- |
|
||||
| x86-64 | ✅ | amd64-\<version tag\> |
|
||||
| arm64 | ✅ | arm64v8-\<version tag\> |
|
||||
| armhf| ✅ | arm32v7-\<version tag\> |
|
||||
|
||||
## Version Tags
|
||||
|
||||
This image provides various versions that are available via tags. `latest` tag usually provides the latest stable version. Others are considered under development and caution must be exercised when using them.
|
||||
This image provides various versions that are available via tags. Please read the descriptions carefully and exercise caution when using unstable or development tags.
|
||||
|
||||
| Tag | Description |
|
||||
| :----: | --- |
|
||||
| latest | Docker and Compose environment pre-installed |
|
||||
| go | Basic Golang environment pre-installed |
|
||||
| nodejs | Current stable NodeJS/NPM environment pre-installed |
|
||||
| python | Current Python3 environment pre-installed |
|
||||
| ruby | Current Ruby environment pre-installed |
|
||||
| Tag | Available | Description |
|
||||
| :----: | :----: |--- |
|
||||
| latest | ✅ | Docker and Compose environment pre-installed |
|
||||
| go | ✅ | Basic Golang environment pre-installed |
|
||||
| nodejs | ✅ | Current stable NodeJS/NPM environment pre-installed |
|
||||
| python | ✅ | Current Python3 environment pre-installed |
|
||||
| ruby | ✅ | Current Ruby environment pre-installed |
|
||||
|
||||
## Application Setup
|
||||
|
||||
|
@ -85,7 +85,7 @@ Here are some example snippets to help you get started creating a container.
|
|||
version: "2.1"
|
||||
services:
|
||||
cloud9:
|
||||
image: lscr.io/linuxserver/cloud9
|
||||
image: lscr.io/linuxserver/cloud9:ruby
|
||||
container_name: cloud9
|
||||
environment:
|
||||
- PUID=1000
|
||||
|
@ -117,7 +117,7 @@ docker run -d \
|
|||
-v /path/to/your/code:/code `#optional` \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock `#optional` \
|
||||
--restart unless-stopped \
|
||||
lscr.io/linuxserver/cloud9
|
||||
lscr.io/linuxserver/cloud9:ruby
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
@ -179,7 +179,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
|
|||
* container version number
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' cloud9`
|
||||
* image version number
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/cloud9`
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/cloud9:ruby`
|
||||
|
||||
## Updating Info
|
||||
|
||||
|
@ -197,7 +197,7 @@ Below are the instructions for updating containers:
|
|||
|
||||
### Via Docker Run
|
||||
|
||||
* Update the image: `docker pull lscr.io/linuxserver/cloud9`
|
||||
* Update the image: `docker pull lscr.io/linuxserver/cloud9:ruby`
|
||||
* Stop the running container: `docker stop cloud9`
|
||||
* Delete the container: `docker rm cloud9`
|
||||
* 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)
|
||||
|
@ -232,7 +232,7 @@ cd docker-cloud9
|
|||
docker build \
|
||||
--no-cache \
|
||||
--pull \
|
||||
-t lscr.io/linuxserver/cloud9:latest .
|
||||
-t lscr.io/linuxserver/cloud9:ruby .
|
||||
```
|
||||
|
||||
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
|
||||
|
|
Ładowanie…
Reference in New Issue