Robin Grönberg bad2771802 Update docker README with docker buildx instructions. 4 years ago
..
Dockerfile a6a46ae503 Use alpine base image instead of glib image. 4 years ago
Dockerfile.go_build 4dec5e0e4a fix dockerhub build 4 years ago
Dockerfile.local d4db0db220 some typos 4 years ago
Makefile 4dec5e0e4a fix dockerhub build 4 years ago
README.md bad2771802 Update docker README with docker buildx instructions. 4 years ago
entrypoint.sh ab4c9ac221 allow optionally change volume max count 4 years ago
filer.toml 15ecf4e3bf filer: default to leveldb2 5 years ago
local-cluster-compose.yml 3775211962 optimize entrypoint for docker 4 years ago
local-dev-compose.yml 3775211962 optimize entrypoint for docker 4 years ago
seaweedfs-compose.yml 3775211962 optimize entrypoint for docker 4 years ago
seaweedfs-dev-compose.yml 3775211962 optimize entrypoint for docker 4 years ago

README.md

Docker

Try it out


wget https://raw.githubusercontent.com/chrislusf/seaweedfs/master/docker/seaweedfs-compose.yml

docker-compose -f seaweedfs-compose.yml -p seaweedfs up

Try latest tip


wget https://raw.githubusercontent.com/chrislusf/seaweedfs/master/docker/seaweedfs-dev-compose.yml

docker-compose -f seaweedfs-dev-compose.yml -p seaweedfs up

Local Development

cd $GOPATH/src/github.com/chrislusf/seaweedfs/docker
make

Build and push a multiarch build

Make sure that docker buildx is supported (might be an experimental docker feature)

BUILDER=$(docker buildx create --driver docker-container --use)
docker buildx build --pull --push --platform linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 . -t chrislusf/seaweedfs
docker buildx stop $BUILDER