I had this docker compose file where I could mention stdin_open: true
.
Now I was moving to nomad, and was moving args I mentioned on that compose file to nomad file, many of them worked without much issue, except I couldn’t use stdin_open = true
in config.
task "task" {
driver = "docker"
config {
image = "app:local"
stdin_open = true
tty = true
auth_soft_fail = true
}
}
Also stdin_open here is refering to i
in command docker run -it image:latest
.