Lightrun on Docker
Installing Lightrun inside a Docker container¶
Docker containers are epehmeral.
If you were to create a shell into a Docker container (by
docker exec -it <container-id>, for example) and add the Lightrun files there, they would disappear the next time the container would spin up due to the ephemeral nature of that container.
Instead, we suggest you install Lightrun by adding it to the underlying Docker image directly, i.e. by "baking" the agent into the image.
Instructions for each language we support are provided inside the "Install an Agent" section for the language:
- Installing Lightrun for the JVM inside a Docker container
- Installing Lightrun for Node.js inside a Docker container
- Installing Lightrun for Python inside a Docker container
Last update: May 29, 2023