linux - command line arguments to docker run -
I'm slowly trying to create a dock image for my needs What I want to do, my original image Mono is run, and then Mono runs executable in the background. From the normal command line, without trying to run it in the container, it will look like this:
/ usr / local / bin / mono /home/crystal/downloads/backgroundProcesser.exe & amp; It works fine but if I try to do this then when I run the container:
Sodu Docker Run-i -T Crystal / Mono-Base / USR / Local / Bin / Mono / Home / Crystal / Download / BackgroundProceaseer EXE & amp; I do not get any such file or directory . Is there a way in which I have the & amp; Can I pass ? After all, I & amp; To run this background picsocer in the background, and then run the second app in the foreground. I saw this post for a different solution, but I thought I can run some stuff from the command line to prove the concept material for my app.
Use bash to give the -c option to the command line as a string:
Sudo Docker Run - i -T crystal / mono base base-c "/ usr / local / bin / mono / home / crystal / download / background processor .exe / bin / bash" and do not put the container immediately after the background command
Comments
Post a Comment