From fa88bce917734067e50d352fe525c7bec700232b Mon Sep 17 00:00:00 2001 From: amnesiacsardine <56002958+amnesiacsardine@users.noreply.github.com> Date: Sat, 16 Jul 2022 13:22:31 +0200 Subject: [PATCH] Update README.MD Added how to pass command line arguments in the Dockerfile --- README.MD | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.MD b/README.MD index 83e969c..4d2c74c 100644 --- a/README.MD +++ b/README.MD @@ -143,6 +143,13 @@ services: volumes: - ./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: