Update README.MD
Added how to pass command line arguments in the Dockerfile
This commit is contained in:
parent
a5d326b679
commit
fa88bce917
1 changed files with 7 additions and 0 deletions
|
@ -143,6 +143,13 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./microbin-data:/usr/local/bin/pasta_data
|
- ./microbin-data:/usr/local/bin/pasta_data
|
||||||
```
|
```
|
||||||
|
To pass command line arguments you must edit the Dockerfile and change the CMD line. In this example we add the syntax highlighting option and enable private pastas:
|
||||||
|
|
||||||
|
```
|
||||||
|
CMD ["microbin", "--highlightsyntax", "--private"]
|
||||||
|
```
|
||||||
|
You then need to rebuild the image and recreate your container.
|
||||||
|
|
||||||
|
|
||||||
**Note:** If you are getting the following error about domain name resolution:
|
**Note:** If you are getting the following error about domain name resolution:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue