seaweedfs/docker
2021-07-03 12:52:58 -07:00
..
compose s3 test get w/ If-Match: bogus ETag 2021-05-24 16:59:44 +05:00
nginx docker-compose 2021-01-17 18:33:14 +05:00
prometheus docker-compose 2021-01-17 18:33:14 +05:00
Dockerfile fix docker image release 2021-04-18 21:46:03 -07:00
Dockerfile.go_build use go 1.16.4 to build docker image 2021-05-10 00:13:36 -07:00
Dockerfile.go_build_large use go 1.16.4 to build docker image 2021-05-10 00:13:36 -07:00
Dockerfile.local webdav: adds to docker file 2021-01-31 22:57:30 -08:00
Dockerfile.s3tests add 12 tests 2021-03-12 12:40:33 +05:00
entrypoint.sh fix outdated cron job scripts 2021-03-09 16:49:05 -08:00
filer.toml filer: default to leveldb2 2019-06-30 00:44:57 -07:00
Makefile add run_image 2021-07-03 12:52:58 -07:00
README.md Update docker README with docker buildx instructions. 2020-06-30 23:38:00 +02:00
seaweedfs-compose.yml webdav: adds to docker file 2021-01-31 22:57:30 -08:00
seaweedfs-dev-compose.yml webdav: adds to docker file 2021-01-31 22:57:30 -08:00
seaweedfs.sql k8s build 2020-12-21 20:58:41 +05:00

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