DockerizeMe this bash script allows you to create docker containers with ease, specifying environment variables, volumes, and other parameters.
-
Bash
-
Git
-
Docker
To install this project, clone it from github with the following
shell
git clone https://github.com/christophermontero/dockerizeme.git
cd dockerizeme
Follow these steps to use this project:
Ensure the script has execute permission by running the following command in your terminal:
shell
sudo chmod 744 dockerizeme.sh
Execute the script by running:
shell
./dockerizeme.sh
When prompted for port mappings, use the following format:
shell
8080:8080,... (add more as needed)
When prompted for environment variables, use the following format:
shell
VAR_NAME=value,... (add more as needed)
If you want to attach volume to the container, type 'yes' when prompted, and it will be located in $HOME/docker-vol/image-name
DockerizeMe provides a range of pre-built containers designed to streamline the setup of commonly used database and application services. These pre-configured containers make it effortless to get your desired services up and running quickly.
Here is a list of services supported by this script:
- PostgreSQL
- PostgreSQL with PostGIS extension
- MongoDB
- MySQL
- PgAdmin4
Choose from these services to simplify your containerization process and accelerate your development workflow.
If you have any feedback, please reach out at [email protected]
This project is under Apache 2.0 License