full_footer.md(文件已创建)
| @@ -0,0 +1,11 @@ | |||
| 1 | + | ___ | |
| 2 | + | ||
| 3 | + | ## License | |
| 4 | + | ||
| 5 | + | ``` | |
| 6 | + | LICENSE HERE | |
| 7 | + | ``` | |
| 8 | + | ||
| 9 | + | ___ | |
| 10 | + | ||
| 11 | + | [](http"/>/no-github.bitbucket.io/) | |
docker.md
| @@ -1,9 +1,8 @@ | |||
| 1 | - | Docker Setup (For Setup and Production) | |
| 1 | + | # Docker Setup (For Setup and Production) | |
| 2 | 2 | ||
| 3 | 3 | To get started on setting up SOFTWARE, it’s recommended that you use this Docker method as it is expected to work in most server environments. You may need an internet connection to download images, if needed. | |
| 4 | 4 | ||
| 5 | - | Requirements | |
| 6 | - | ||
| 5 | + | ## Requirements | |
| 7 | 6 | For starters, you’ll need the Docker Engine installed on the operating system. If you’re using Microsoft Windows or macOS (OS X), I would recommend strictly going for Docker Engine instead of Docker Desktop. | |
| 8 | 7 | ||
| 9 | 8 | Here are instructions for each common operating system: | |
| @@ -11,29 +10,26 @@ Here are instructions for each common operating system: | |||
| 11 | 10 | - macOS (OS X): https://pilsniak.com/how-to-install-docker-on-mac-os-using-brew | |
| 12 | 11 | - Linux: https://docs.docker.com/engine/install/ | |
| 13 | 12 | ||
| 14 | - | Build or Pull Image | |
| 15 | - | ||
| 13 | + | ## Build or Pull Image | |
| 16 | 14 | You can either build the image yourself or to pull prebuilt images from SudoVanilla Registry. | |
| 17 | 15 | ||
| 18 | 16 | To build the image, run the following command: | |
| 19 | - | ||
| 17 | + | ```bash | |
| 20 | 18 | docker build -t image_name . | |
| 21 | - | ||
| 22 | - | ||
| 19 | + | ``` | |
| 23 | 20 | ||
| 24 | 21 | You may need to use sudo depending on your environment. | |
| 25 | 22 | ||
| 26 | 23 | To pull the image, make sure you’re already in the directly where the Docker Compose file exist and run the following command: | |
| 27 | - | ||
| 24 | + | ```bash | |
| 28 | 25 | docker compose pull | |
| 26 | + | ``` | |
| 29 | 27 | ||
| 30 | - | Run | |
| 31 | - | ||
| 28 | + | ## Run | |
| 32 | 29 | After building or pulling the image from the previous step, you may now run the Docker Compose file: | |
| 33 | 30 | ||
| 31 | + | ```bash | |
| 34 | 32 | docker compose up | |
| 33 | + | ``` | |
| 35 | 34 | ||
| 36 | - | ||
| 37 | - | ||
| 38 | - | You can add the -d parameter with it, to detach after executing. | |
| 39 | - | ||
| 35 | + | You can add the `-d` parameter with it, to detach after executing. | |
docker.md(文件已创建)
| @@ -0,0 +1,39 @@ | |||
| 1 | + | Docker Setup (For Setup and Production) | |
| 2 | + | ||
| 3 | + | To get started on setting up SOFTWARE, it’s recommended that you use this Docker method as it is expected to work in most server environments. You may need an internet connection to download images, if needed. | |
| 4 | + | ||
| 5 | + | Requirements | |
| 6 | + | ||
| 7 | + | For starters, you’ll need the Docker Engine installed on the operating system. If you’re using Microsoft Windows or macOS (OS X), I would recommend strictly going for Docker Engine instead of Docker Desktop. | |
| 8 | + | ||
| 9 | + | Here are instructions for each common operating system: | |
| 10 | + | - Microsoft Windows: (Install WSL and use Linux method within WSL) | |
| 11 | + | - macOS (OS X): https://pilsniak.com/how-to-install-docker-on-mac-os-using-brew | |
| 12 | + | - Linux: https://docs.docker.com/engine/install/ | |
| 13 | + | ||
| 14 | + | Build or Pull Image | |
| 15 | + | ||
| 16 | + | You can either build the image yourself or to pull prebuilt images from SudoVanilla Registry. | |
| 17 | + | ||
| 18 | + | To build the image, run the following command: | |
| 19 | + | ||
| 20 | + | docker build -t image_name . | |
| 21 | + | ||
| 22 | + | ||
| 23 | + | ||
| 24 | + | You may need to use sudo depending on your environment. | |
| 25 | + | ||
| 26 | + | To pull the image, make sure you’re already in the directly where the Docker Compose file exist and run the following command: | |
| 27 | + | ||
| 28 | + | docker compose pull | |
| 29 | + | ||
| 30 | + | Run | |
| 31 | + | ||
| 32 | + | After building or pulling the image from the previous step, you may now run the Docker Compose file: | |
| 33 | + | ||
| 34 | + | docker compose up | |
| 35 | + | ||
| 36 | + | ||
| 37 | + | ||
| 38 | + | You can add the -d parameter with it, to detach after executing. | |
| 39 | + | ||
上一页
下一页