mirror of https://github.com/MISP/misp-docker
Add some notes to the read me on how I dev using the containers
parent
d1ee246e25
commit
1a149d9297
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue