node { docker.image('kubakonieczny/ium:v1.0').withRun('-t') { c -> docker.image('kubakonieczny/ium:v1.0').inside { stage('Test') { sh 'cat /etc/issue' sh 'ls -lah' } } } sh 'docker logs ${c.id}' }