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.

51 lines
1.0 KiB

6 years ago
2 years ago
6 years ago
2 years ago
6 years ago
  1. # Docker
  2. ## Try it out
  3. ```bash
  4. wget https://raw.githubusercontent.com/seaweedfs/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/seaweedfs/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/seaweedfs/seaweedfs/docker
  15. make
  16. ```
  17. ### S3 cmd
  18. list
  19. ```
  20. s3cmd --no-ssl --host=127.0.0.1:8333 ls s3://
  21. ```
  22. ## Build and push a multiarch build
  23. Make sure that `docker buildx` is supported (might be an experimental docker feature)
  24. ```bash
  25. BUILDER=$(docker buildx create --driver docker-container --use)
  26. docker buildx build --pull --push --platform linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 . -t chrislusf/seaweedfs
  27. docker buildx stop $BUILDER
  28. ```
  29. ## Minio debuging
  30. ```
  31. mc config host add local http://127.0.0.1:9000 some_access_key1 some_secret_key1
  32. mc admin trace --all --verbose local
  33. ```