You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
host: start a new ubuntu container as a daemon with sleep 10000
host: exec /bin/bash in the new container
env | grep LD_PRELOAD reveals that LD_PRELOAD is not set in the new bash shell
mounts are there
the library is there
Currently we only support the scenario of starting a container like docker run --rm -it ubuntu /bin/bash and running processes from that bash session.
As a workaround, users can start new containers like: docker run --rm -it -d -e LD_PRELOAD=/opt/appscope/libscope.so ubuntu sleep 10000 (with sleep being an example). If the "new container" is started in this manner, the LD_PRELOAD environment variable will be present even after exec'ing in, in the future.
Steps To Reproduce
A summary of the problem:
env | grep LD_PRELOAD
reveals that LD_PRELOAD is not set in the new bash shellCurrently we only support the scenario of starting a container like
docker run --rm -it ubuntu /bin/bash
and running processes from that bash session.As a workaround, users can start new containers like:
docker run --rm -it -d -e LD_PRELOAD=/opt/appscope/libscope.so ubuntu sleep 10000
(with sleep being an example). If the "new container" is started in this manner, the LD_PRELOAD environment variable will be present even after exec'ing in, in the future.Environment
Requested priority
None
Relevant log output
No response
The text was updated successfully, but these errors were encountered: