Closed fatso83 closed 3 years ago
Trying adding -i
to docker run
That was it 🙈
docker run --name=root_myapp-fpm_1 --hostname=4551cbfdb140
--env=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
--env='PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c'
--env=PHP_INI_DIR=/usr/local/etc/php --env='PHP_EXTRA_CONFIGURE_ARGS=--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi'
--env='PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2'
--env='PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2' --env='PHP_LDFLAGS=-Wl,-O1 -Wl,--hash-style=both -pie'
--env='GPG_KEYS=A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 1729F83938DA44E27BA0F4D3DBDB397470D12172'
--env=PHP_VERSION=7.1.30 --env=PHP_URL=https://www.php.net/get/php-7.1.30.tar.xz/from/this/mirror
--env=PHP_ASC_URL=https://www.php.net/get/php-7.1.30.tar.xz.asc/from/this/mirror
--env=PHP_SHA256=6310599811536dbe87e4bcf212bf93196bdfaff519d0c821e4c0068efd096a7c
--env=PHP_MD5=
--volumes-from=7713d5314f5812be835f23a69a5038c491b1eed8acbc7c05163db776caf9e294:rw
--network=root_default
--workdir=/var/www/html
-p 10.135.17.193:9000:9000
--restart=always
--label='com.docker.compose.container-number=1'
--label='com.docker.compose.oneoff=False' --label='com.docker.compose.project=root'
--label='com.docker.compose.version=1.8.0'
--label='com.docker.compose.service=myapp-fpm'
--label='com.docker.compose.config-hash=df8cddcbc8c7112eb8b18b2c1637146b8784597453297142fa56cd69e4ef8ff3'
--runtime=runc
--detach=true
my.register.aws/myapp-fpm:latest
It does not seem to like the output from my
inspect
command ... Not sure if this is down to the old Docker version (19.03.6) running on the node I captured the output from?out.txt