Add some notes to the read me on how I dev using the containers

pull/1/head
Jason Kendall 2020-02-19 11:03:39 -05:00
parent d1ee246e25
commit 1a149d9297
1 changed files with 7 additions and 0 deletions

View File

@ -42,6 +42,13 @@ This is based on some of the work from the DSCO docker build, nearly all of the
- Profit - Profit
### Using the image for development
Once you have the docker container up you can access the container by running `docker-compose exec misp /bin/bash`.
This will provide you with a root shell. You can use `apt update` and then install any tools you wish to use.
Finally, copy any changes you make outside of the container for commiting to your branch.
`git diff -- [dir with changes]` could be used to reduce the number of changes in a patch file, however, becareful when using the `git diff` command.
### Production ### Production
- Use docker-compose, or some other config management tool - Use docker-compose, or some other config management tool