Getting a command prompt on a container
On Linux, if you need a command prompt for a running container, such as a Pentaho Server or Carte container, you can use the docker exec
command with the containerID listed via the docker container ls
command, as shown in the following example:
docker exec -it *containerId* bash
To get into a stopped PDI container after a command has been executed, use the docker compose command with the bash argument, as shown in the following example:
docker compose run pdi bash
The pdi
reference already is defined in your docker-compose.yaml
file.
Last updated
Was this helpful?