nerdctl
nerdctl copied to clipboard
currently flag -i and -d cannot be specified together
Hello Team
I am trying to execute below command
nerdctl run -t -d -i
-e GREENMAIL_OPTS='-Dgreenmail.setup.test.all -Dgreenmail.hostname=0.0.0.0 -Dgreenmail.auth.disabled -Dgreenmail.verbose'
-e JAVA_OPTS='-Djava.net.preferIPv4Stack=true -Xmx512m'
-p 3025:3025 -p 3110:3110 -p 3143:3143
-p 3465:3465 -p 3993:3993 -p 3996:3996
ARTIFACTORY/ORG/greemail:1.5.4
It is giving below error
FATA[0043] currently flag -i and -d cannot be specified together (FIXME)
Please help me with solution . I am using nerdctl-full-0.11.0-linux-amd64.tar.gz
For most apps nerdctl run -t -d -i can be substituted with nerdctl run -d
How I can keep both interactive and detach mode together in nerdctl greemail container need both options to be enabled
Unimplemented
For most apps
nerdctl run -t -d -ican be substituted withnerdctl run -d
Not if you need to run a container as daemon and immediately interact with it:
~ lima nerdctl run -it --rm alpine uname
Linux
vs.
~ lima nerdctl run -d alpine uname
1a54ff64fd44f3e7789aae9e432b72366f253acdde8e5dd073a61c98029eaa74
Obviously on the second instance that's the stdout for the container id.
@AkihiroSuda what's the roadmap to v1.0? Any chance we can bring this milestone forward if someone works on this? (I'm volunteering)
My knowledge about TTY is not enough yet to understand, implement, and test this.
Contribution with well-written integration tests would be highly appreciated 🙏