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.

39 lines
838 B

6 years ago
6 years ago
6 years ago
  1. # Docker
  2. ## Try it out
  3. ```bash
  4. wget https://raw.githubusercontent.com/chrislusf/seaweedfs/master/docker/seaweedfs-compose.yml
  5. docker-compose -f seaweedfs-compose.yml -p seaweedfs up
  6. ```
  7. ## Try latest tip
  8. ```bash
  9. wget https://raw.githubusercontent.com/chrislusf/seaweedfs/master/docker/seaweedfs-dev-compose.yml
  10. docker-compose -f seaweedfs-dev-compose.yml -p seaweedfs up
  11. ```
  12. ## Local Development
  13. ```bash
  14. cd $GOPATH/src/github.com/chrislusf/seaweedfs/docker
  15. make
  16. ```
  17. ## Build and push a multiarch build
  18. Make sure that `docker buildx` is supported (might be an experimental docker feature)
  19. ```bash
  20. BUILDER=$(docker buildx create --driver docker-container --use)
  21. docker buildx build --pull --push --platform linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 . -t chrislusf/seaweedfs
  22. docker buildx stop $BUILDER
  23. ```