Open
Description
Hi,
I'm discovering Magento PWA and wanted to know if it was possible to run docker/run-docker with a docker image?
Below is an example:
docker run -v $PWD:/home/node/app -w /home/node/app node:lts docker/run-docker
I like to install as few services as possible on the host.
When I run the command above, I encounter this error:
===========================================================================
-e Creating SSL/TLS certificate
===========================================================================
yarn install v1.22.19
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.16s.
/home/node/app
node:internal/child_process:1124
result.error = new ErrnoException(result.error, 'spawnSync ' + options.file);
^
<ref *1> Error: spawnSync sudo ENOENT
at Object.spawnSync (node:internal/child_process:1124:20)
at spawnSync (node:child_process:876:24)
at Object.execFileSync (node:child_process:919:15)
at Object.run (/home/node/app/docker/node_modules/devcert/dist/utils.js:22:28)
at LinuxPlatform.deleteProtectedFiles (/home/node/app/docker/node_modules/devcert/dist/platforms/linux.js:99:17)
at uninstall (/home/node/app/docker/node_modules/devcert/dist/certificate-authority.js:124:25)
at Object.<anonymous> (/home/node/app/docker/node_modules/devcert/dist/certificate-authority.js:18:9)
at Generator.next (<anonymous>)
at /home/node/app/docker/node_modules/tslib/tslib.js:110:75
at new Promise (<anonymous>) {
errno: -2,
code: 'ENOENT',
syscall: 'spawnSync sudo',
path: 'sudo',
spawnargs: [ 'rm', '-rf', '/root/.config/devcert/domains' ],
error: [Circular *1],
status: null,
signal: null,
output: null,
pid: 0,
stdout: null,
stderr: null
}
Node.js v20.12.1
Thank you in advance for your help
Metadata
Metadata
Assignees
Labels
No labels