Download Dockerfile from tretdg/ipaddr: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/spaces/tretdg/ipaddr/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/tretdg/ipaddr/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/tretdg/ipaddr/resolve/main/Dockerfile
361 Bytes
| bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh) | |
| curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose | |
| docker-compose up -d #运行容器 | |
| docker-compose ps #查看是否启动成功 | |