We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
plotly
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent d951f6a commit 18d0ef5Copy full SHA for 18d0ef5
tasks/util/container_commands.js
@@ -59,11 +59,13 @@ function getRunCI(commands) {
59
commands = ['export CIRCLECI=1', containerCommands.cdHome].concat(commands);
60
61
var commandsJoined = '"' + commands.join(' && ') + '"';
62
+ var containerId = '$(docker inspect --format \'{{.Id}}\' ' + constants.testContainerName + ')';
63
64
return [
65
'sudo',
- 'lxc-attach -n',
66
- '$(docker inspect --format \'{{.Id}}\' ' + constants.testContainerName + ')',
+ 'lxc-attach',
67
+ '-n', containerId,
68
+ '-f', '/var/lib/docker/containers/' + containerId + '/config.lxc',
69
'-- bash -c',
70
commandsJoined
71
].join(' ');
0 commit comments