Sign inSign up

snowdreamtech/sftpgo

By snowdreamtech

•Updated about 1 year ago

Docker Image for sftpgo.

Image
1

10K+

snowdreamtech/sftpgo repository overview

⁠SFTPGo

dockeri.co

Docker Image packaging for drakkan/sftpgo⁠. (amd64, arm32v5, arm32v6, arm32v7, arm64v8, i386, mips64le, ppc64le,riscv64, s390x)

⁠Usage

To help you get started creating a container from this image you can either use docker-compose or the docker cli.

⁠Docker Cli

⁠Simple
docker run -d \
  --name=sftpgo \
  -e TZ=Asia/Shanghai \
  -p 8080:8080 \
  -p 2022:2022 \
  --restart unless-stopped \
  snowdreamtech/sftpgo:latest
⁠Advance
docker run -d \
  --name=sftpgo \
  -e TZ=Asia/Shanghai \
  -p 8080:8080 \
  -p 2022:2022 \
  -v /path/to/data:/srv/sftpgo \
  -v /path/to/config:/var/lib/sftpgo \
  --restart unless-stopped \
  snowdreamtech/sftpgo:latest

⁠Docker Compose

⁠Simple
services:
  sftpgo:
    image: snowdreamtech/sftpgo:latest
    container_name: sftpgo
    environment:
      - TZ=Asia/Shanghai
    ports:
      - "8080:8080"
      - "2022:2022"
    restart: unless-stopped
⁠Advance
services:
  sftpgo:
    image: snowdreamtech/sftpgo:latest
    container_name: sftpgo
    environment:
      - TZ=Asia/Shanghai
    ports:
      - "8080:8080"
      - "2022:2022"
    volumes:
      - /path/to/data:/srv/sftpgo
      - /path/to/config:/var/lib/sftpgo
    restart: unless-stopped

⁠Development

docker buildx create --use --name build --node build --driver-opt network=host
docker buildx build -t snowdreamtech/sftpgo --platform=linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/riscv64,linux/s390x . --push

⁠Reference

  1. 使用 buildx 构建多平台 Docker 镜像⁠
  2. 如何使用 docker buildx 构建跨平台 Go 镜像⁠
  3. Building Multi-Arch Images for Arm and x86 with Docker Desktop⁠
  4. How to Rapidly Build Multi-Architecture Images with Buildx⁠
  5. Faster Multi-Platform Builds: Dockerfile Cross-Compilation Guide⁠
  6. docker/buildx⁠

⁠Contact (备注:base)

⁠License

AGPL-3.0 license

Tag summary

Content type

Image

Digest

sha256:4c05482a9…

Size

32.1 MB

Last updated

over 1 year ago

docker pull snowdreamtech/sftpgo