Docker-compose module: Execute wrap
Execute a command inside an existing container. This command is the same as the one from Docker module.
Example
Run node named /info/ from OS module inside an existing container named space_container:
space -m os /info/ -m docker-compose /wrap_exec/ -econtainer=space_container
Output:
[INFO] OS_INFO: OS type: gnu.
[INFO] OS_INFO: OS init system: systemd.
[INFO] OS_INFO: OS package manager: apt.
[INFO] OS_INFO: OS home directory: /home.
[INFO] OS_INFO: Current directory: /..
Edit this page
