aci
1 TopicUnable to exec /bin/bash on docker image running on ACI
I have a docker image that has /bin/bash installed and which I can connect to when running on self hosted docker/portainer. I am now trying to deploy this to ACI using: az container create --resource-group arg --cpu 1 --memory 1 --os-type Linux --name unbound-ab --location australiaeast --image docker.io/mvance/unbound --dns-name-label ab-unbound --ports 853 --gitrepo-url https://xxx.xxx/xxx.git --gitrepo-mount-path /opt/unbound/etc/unbound However, when deploying it to ACI I am unable to connect to it using the CLI: az container exec --resource-group arg --name unbound-ab --exec-command "/bin/sh" --container-name unbound-ab The exec command succeeds but returns directly to Power Shell rather than opening an interactive terminal. My expectation is a bash prompt should appear that I can interact with. Is this what should happen, and if so any pointers, please?1.4KViews0likes1Comment