snowdreamtech/musicfox

By snowdreamtech

Updated over 1 year ago

Docker Images for go-musicfox. (i386,amd64, arm32v6, arm32v7, arm64,ppc64le,riscv64,s390x)

Image
Integration & delivery
0

3.7K

snowdreamtech/musicfox repository overview

musicfox

musicfox

Docker Image packaging for musicfox. (amd64, arm32v6, arm32v7, arm64v8, i386, 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 -ti \
  --name=musicfox \
  --device /dev/snd \
  -e TZ=Asia/Shanghai \
  --restart unless-stopped \
  snowdreamtech/musicfox:latest \
  /bin/sh
Advance
docker run -ti \
  --name=musicfox \
  --device /dev/snd \
  -e TZ=Asia/Shanghai \
  -v /path/to/data:/path/to/data \
  --restart unless-stopped \
  snowdreamtech/musicfox:latest \
  /bin/sh

Docker Compose

Simple
version: "3"

services:
  musicfox:
    image: snowdreamtech/musicfox:latest
    container_name: musicfox
    environment:
      - TZ=Asia/Shanghai
    restart: unless-stopped
Advance
version: "3"

services:
  musicfox:
    image: snowdreamtech/musicfox:latest
    container_name: musicfox
    environment:
      - TZ=Asia/Shanghai
    volumes:
      - /path/to/data:/path/to/data
    restart: unless-stopped

Development

docker buildx create --use --name build --node build --driver-opt network=host
docker buildx build -t snowdreamtech/musicfox --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

1.go-musicfox

Contact (备注:musicfox)

License

MIT

Tag summary

Content type

Image

Digest

sha256:3af3a1257

Size

18.6 MB

Last updated

almost 2 years ago

docker pull snowdreamtech/musicfox