Error: container is not defined


#1

We are getting Error: container 42d08101b1c37516dbb3dac872524f55aa152fca8d3b4c2081b554e8e7d4034f is not defined. This used to work before and it started happening from this week. We have not changed any of our build process.

sudo lxc-attach -n “$(docker inspect --format “{{.Id}}” mysql)” – bash -c "echo “create database swarmsales” | /usr/local/mysql/bin/mysql -u root --password=test"
Error: container 481fc6afcb54515552106f754fa0aa437f00ebd74aa4dc0bc51c77014fc64f15 is not defined

sudo lxc-attach -n “$(docker inspect --format “{{.Id}}” mysql)” – bash -c “echo “create database swarmsales” | /usr/local/mysql/bin/mysql -u root --password=root” returned exit code 1


#2