-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created a folder for basic and advanced deployment of the ETL pipeline.
- Loading branch information
Showing
13 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,7 @@ | ||
| scripts/data/combined_data_cleaned.csv | ||
| scripts/data/combined_data.csv | ||
| # ignore the data files | ||
| 01-basic-deployment/scripts/data/combined_data_cleaned.csv | ||
| 01-basic-deployment/scripts/data/combined_data.csv | ||
|
|
||
| scripts/extract_done | ||
| scripts/transform_done | ||
| # ignore the done files | ||
| 01-basic-deployment/scripts/extract_done | ||
| 01-basic-deployment/scripts/transform_done |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # Cleaning Up Docker Deployments | ||
|
|
||
| To clean up after using `docker-compose up`, you can use the following commands to stop and remove containers, networks, volumes, and images created by Docker Compose: | ||
|
|
||
| ## Stop and Remove Containers | ||
| This command will stop and remove all containers defined in the `docker-compose.yml` file. | ||
|
|
||
| ```sh | ||
| docker-compose down | ||
| ``` | ||
|
|
||
| ## Remove Containers, Networks, Volumes, and Images | ||
| This command will remove containers, networks, and images created by docker-compose up. The -v flag is used to remove named volumes declared in the volumes section of the Compose file and anonymous volumes attached to containers. | ||
|
|
||
| ```sh | ||
| docker-compose down --volumes --remove-orphans | ||
| ``` | ||
| ## Remove All Unused Docker Data | ||
|
|
||
| If you want to remove all unused Docker data, including stopped containers, networks, images, and build cache, use the following command: | ||
|
|
||
| ```sh | ||
| docker system prune -a --volumes | ||
| ``` | ||
|
|
||
| Note: | ||
| - -a will also remove all unused images not just dangling ones. | ||
| - --volumes will remove all unused volumes. |