mirror of
				https://github.com/linuxserver/docker-swag.git
				synced 2025-11-03 14:32:37 +09:00 
			
		
		
		
	Bot Updating Templated Files
This commit is contained in:
		
							
								
								
									
										13
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								README.md
									
									
									
									
									
								
							@@ -33,6 +33,7 @@ Find us at:
 | 
			
		||||
[](https://github.com/linuxserver/docker-swag/releases)
 | 
			
		||||
[](https://github.com/linuxserver/docker-swag/packages)
 | 
			
		||||
[](https://gitlab.com/linuxserver.io/docker-swag/container_registry)
 | 
			
		||||
[](https://quay.io/repository/linuxserver.io/swag)
 | 
			
		||||
[](https://hub.docker.com/r/linuxserver/swag)
 | 
			
		||||
[](https://hub.docker.com/r/linuxserver/swag)
 | 
			
		||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-swag/job/master/)
 | 
			
		||||
@@ -46,7 +47,7 @@ SWAG - Secure Web Application Gateway (formerly known as letsencrypt, no relatio
 | 
			
		||||
 | 
			
		||||
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/swag` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
 | 
			
		||||
Simply pulling `lscr.io/linuxserver/swag` 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:
 | 
			
		||||
 | 
			
		||||
@@ -141,7 +142,7 @@ Here are some example snippets to help you get started creating a container.
 | 
			
		||||
version: "2.1"
 | 
			
		||||
services:
 | 
			
		||||
  swag:
 | 
			
		||||
    image: ghcr.io/linuxserver/swag
 | 
			
		||||
    image: lscr.io/linuxserver/swag
 | 
			
		||||
    container_name: swag
 | 
			
		||||
    cap_add:
 | 
			
		||||
      - NET_ADMIN
 | 
			
		||||
@@ -194,7 +195,7 @@ docker run -d \
 | 
			
		||||
  -p 80:80 `#optional` \
 | 
			
		||||
  -v /path/to/appdata/config:/config \
 | 
			
		||||
  --restart unless-stopped \
 | 
			
		||||
  ghcr.io/linuxserver/swag
 | 
			
		||||
  lscr.io/linuxserver/swag
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Parameters
 | 
			
		||||
@@ -265,7 +266,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
 | 
			
		||||
* container version number
 | 
			
		||||
  * `docker inspect -f '{{ index .Config.Labels "build_version" }}' swag`
 | 
			
		||||
* image version number
 | 
			
		||||
  * `docker inspect -f '{{ index .Config.Labels "build_version" }}' ghcr.io/linuxserver/swag`
 | 
			
		||||
  * `docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/swag`
 | 
			
		||||
 | 
			
		||||
## Updating Info
 | 
			
		||||
 | 
			
		||||
@@ -283,7 +284,7 @@ Below are the instructions for updating containers:
 | 
			
		||||
 | 
			
		||||
### Via Docker Run
 | 
			
		||||
 | 
			
		||||
* Update the image: `docker pull ghcr.io/linuxserver/swag`
 | 
			
		||||
* Update the image: `docker pull lscr.io/linuxserver/swag`
 | 
			
		||||
* Stop the running container: `docker stop swag`
 | 
			
		||||
* Delete the container: `docker rm swag`
 | 
			
		||||
* 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)
 | 
			
		||||
@@ -318,7 +319,7 @@ cd docker-swag
 | 
			
		||||
docker build \
 | 
			
		||||
  --no-cache \
 | 
			
		||||
  --pull \
 | 
			
		||||
  -t ghcr.io/linuxserver/swag:latest .
 | 
			
		||||
  -t lscr.io/linuxserver/swag:latest .
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user