You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
user d116432775 POSIX shell compatibility 4 years ago
..
Dockerfile Use alpine base image instead of glib image. 5 years ago
Dockerfile.go_build 2-stage docker dev image build 5 years ago
Dockerfile.go_build_large docker adds large disk version 4 years ago
Dockerfile.local some typos 5 years ago
Makefile fix dockerhub build 5 years ago
README.md Update docker README with docker buildx instructions. 5 years ago
entrypoint.sh POSIX shell compatibility 4 years ago
filer.toml filer: default to leveldb2 6 years ago
local-cluster-compose.yml optimize entrypoint for docker 5 years ago
local-dev-compose.yml optimize entrypoint for docker 5 years ago
seaweedfs-compose.yml optimize entrypoint for docker 5 years ago
seaweedfs-dev-compose.yml optimize entrypoint for docker 5 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