diff --git a/src/index.js b/src/index.js index cfb30f9..7182665 100644 --- a/src/index.js +++ b/src/index.js @@ -413,7 +413,13 @@ class LocalstackPlugin { const getContainer = () => { return exec('docker ps').then( (stdout) => { - const exists = stdout.split('\n').filter((line) => line.indexOf('localstack/localstack') >= 0 || line.indexOf('localstack_localstack') >= 0); + const exists = stdout.split('\n').filter( + (line) => ( + line.indexOf('localstack/localstack') >= 0 || + line.indexOf('localstack/localstack-pro') >= 0 || + line.indexOf('localstack_localstack') >= 0 + ) + ); if (exists.length) { return exists[0].replace('\t', ' ').split(' ')[0]; }