docker icon indicating copy to clipboard operation
docker copied to clipboard

Running model-source fails on Ubuntu 18.04LTS

Open simonsickle-old opened this issue 6 years ago • 2 comments
trafficstars

Rundeck logs show a failure on execution. Upon further investigation, we found that env only takes 1 argument

/var/lib/rundeck/libext/cache/docker-container-1.4.1/model-source
/usr/bin/env: ‘python -u’: No such file or directory

Because of this limitation an environment variable should be set instead, PYTHONUNBUFFERED=1

simonsickle-old avatar Apr 16 '19 18:04 simonsickle-old

@SimonSickle where exactly do you set this variable? (FYI, My rundeck is inside an lxc container. Not docker.)

xpufx avatar Mar 30 '20 13:03 xpufx

I looked at the commit changes and saw where it is. Thanks.

xpufx avatar Mar 30 '20 13:03 xpufx