Posted April 17, 20178 yr Can someone tell me how to set additional flags in the web UI for docker containers that go after the run. An example I am trying to run is this: docker run -d --name ethereum-node -v /Users/alice/ethereum:/root \ -p 8545:8545 -p 30303:30303 \ ethereum/client-go --fast --cache=512 However, when I add them to the extra parameters option in the web UI it looks like it tries to run them before the container. I receive this error when attempting to put them in the extra parameters field. root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="ethereum-node" --net="host" -e TZ="America/New_York" -e HOST_OS="unRAID" -e "TCP_PORT_8545"="8545" -e "TCP_PORT_30303"="30303" -v "/mnt/user/perm/docker_apps/ethereum-node/":"/root":rw "--cache=512" ethereum/client-go unknown flag: --cache See 'docker run --help'.The command failed. So it looks like the extra parameter feild seems to set it before hand not after like I need it.
April 17, 20178 yr --cache is not an option which you can include with the docker run command. See here: https://docs.docker.com/engine/reference/commandline/run/#options for the available options.
April 17, 20178 yr Author Sorry if I wasn't clear enough. What I am trying to say is how do you set additional options via the webui that you would need to run after the container. Like they have in the example. How would I pass the bolded parameters to the container from the webUI. ethereum/client-go --fast --cache=512
April 17, 20178 yr 5 minutes ago, Datapotomus said: What I am trying to say is how do you set additional options via the webui that you would need to run after the container. You can't. As a workaround, try placing the options at the end of the repository field.
April 18, 20178 yr 1 hour ago, Datapotomus said: Thanks. That worked. Yeah, sort of. You will need to remove those additions to successfully pull an update, then put them back when you are done. I'm not happy with the workaround, but it is what it is.
August 26, 20195 yr On 4/18/2017 at 12:17 AM, jonathanm said: You can't. As a workaround, try placing the options at the end of the repository field. i just get the command failed and the docker becomes and orphan image this way
August 26, 20195 yr 22 minutes ago, technomancer__ said: i just get the command failed and the docker becomes and orphan image this way found how to do it go to your docker, advanced view and add the flag in extra parameters
August 26, 20195 yr 3 hours ago, technomancer__ said: i just get the command failed and the docker becomes and orphan image this way Because you were following advice that was valid over 2 years ago, and has since been superseded by a proper implementation.
Archived
This topic is now archived and is closed to further replies.