-
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.
- Loading branch information
Showing
3 changed files
with
168 additions
and
37 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
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 |
---|---|---|
|
@@ -2,14 +2,15 @@ | |
A "simple" drop-in container wrapper that requires all of your configuration | ||
|
||
## index | ||
- [Notice](#Notice) | ||
- [Prerequisites](#Prerequisites) | ||
- [How to get started](#How-to-get-started) | ||
- [Standalone (preferred)](#Standalone-(preferred)) | ||
- [How does git work again?](#How-does-git-work-again?) | ||
- [Why UNIX only?](#Why-UNIX-only?) | ||
- [Notice](#notice) | ||
- [Prerequisites](#prerequisites) | ||
- [How to get started](#how-to-get-started) | ||
- [Standalone (preferred)](#standalone-preferred) | ||
- [How does git work again?](#how-does-git-work-again) | ||
- [Why UNIX only?](#why-unix-only) | ||
- [In-project or local](#in-project-or-local) | ||
- [Contributions](#Contributions) | ||
- [Creating containers](#creating-containers) | ||
- [Contributions](#contributions) | ||
|
||
## Notice | ||
This repository requires **a lot** of configuration on your part. This is to be expected, seeing how docker also requires lots of configuration and I didn't want to limit my efforts to a single project. I would advise against using this repository when you're trying to set up a single local docker environment (see [lando](https://lando.dev/) or [devilbox](http://devilbox.org/)). However, when you're like me and manage lots of projects this might just be the tool you need. | ||
|
@@ -39,7 +40,7 @@ $ rm -rf docker-compose-wrapper | |
Now you're free to use the `dockerw` command just like you're used to using the `git` command. | ||
|
||
##### How does git work again? | ||
Simple, type `git init` to start your project -- this translates to `dockerw init` to start a local container cluster. This setup does require some manual actions inside the `.dockerw` directory though (see the [example branch](https://github.com/CytoDev/docker-compose-wrapper/tree/example)). | ||
Simple, type `git init` to start your project -- this translates to `dockerw init` to start a local container cluster. | ||
|
||
##### Why UNIX only? | ||
Because of the directory structure and installation process. I haven't used any other OS on a serious level since ever, so I will leave integration to the contributors -- they will know what to do. | ||
|
@@ -51,15 +52,23 @@ Probably preferred on NT (MS Windows) machines or restricted UNIX systems | |
$ cd <your_development_directory> | ||
$ git clone [email protected]:cytodev/docker-compose-wrapper.git .dockerw | ||
$ cd .dockerw | ||
#[ you might want to stick to the version you installed ]####################### | ||
#[ if not, you can skip the next line ]######################################### | ||
$ git remote rm origin | ||
#[ these next steps are for easy access, but not required ]##################### | ||
$ cd ../ | ||
$ ln -s ./.dockerw/dockerw | ||
``` | ||
|
||
Please note that you can only use the `dockerw` command _in this directory_ and only by specifying that you want to execute this command via the `./<file>`. (mileage | ||
may vary on NT) | ||
|
||
See the [example branch](https://github.com/CytoDev/docker-compose-wrapper/tree/example) to get a general idea on how to set this repository up in your use-case. | ||
## Creating containers | ||
Creating new containers can be done by using the [`dockerw create`](https://github.com/cytodev/docker-compose-wrapper/blob/v1.2.0/dockerw#L320) command added in [v1.2.0](https://github.com/CytoDev/docker-compose-wrapper/blob/master/CHANGELOG.md#120---2020-05-15). This command will ask some basic questions in order to set up the scaffolding needed for a container. | ||
|
||
See the [example branch](https://github.com/cytodev/docker-compose-wrapper/tree/example) to get a general idea on how to set this repository up in your use-case. | ||
|
||
## Contributions | ||
You are more than welcome to submit issues as well as feature requests or just a 'how-ya-doin' in the [issue tracker](https://github.com/CytoDev/python-sdwc/issues/new). Contributing to the project can be done by forking it and submitting a pull request once it's all tested and tidy. | ||
You are more than welcome to submit issues as well as feature requests in the [issue tracker](https://github.com/cytodev/docker-compose-wrapper/issues/new). | ||
|
||
Contributing to the project can be done by forking it and submitting a pull request once it's all tested and tidy. |
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