#docker (2019-06)
All things docker
Archive: https://archive.sweetops.com/docker/
2019-06-01
hello everyone,
I have a question about npm install -> postinstall
inside docker
I have super small config (exmple)
{
"private": true,
"scripts": {
"postinstall": "echo test"
}
}
when I execute npm i --unsafe-perm
everything goes well
but when I execute npm ci --unsafe-perm
I’ve got error message
npm ERR! Cannot read property 'length' of undefined
does anybody know what to do?
Have you tried building the container without running this command in the Dockefile. Then start the container with a shell, and triage that way? Sometimes it’s easier to understand what is going on
hmmm
no
I’ve tried. - the same error
Step 5/7 : RUN npm ci --unsafe-perm
---> Running in 8781a79481f0
npm ERR! Cannot read property 'length' of undefined
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-06-01T19_33_54_463Z-debug.log
the problem is in postinstall
but I have no any idea what is wrong with npm ci
and postinstall
seems like i found the reason!
npm 6.5.0 works
npm upper version doesn’t work
2019-06-06
2019-06-09
has anyone tried running a desktop on docker. Target is to deploy a virtual desktop solution using containers. Tried LXC containers, but had issues with the networking when the core server was deployed on cloud. Seems docker will be a better alternative, then again not easier to configure as a workstation like lxc/lxd.
2019-06-19
how do you guys periodically update your docker images? looking moreso for automated solutions
What specifically is the objective?
Pull in latest packages?
2019-06-20
docker watchtower
2019-06-28
I guess @btai meant, maintaining, building and updating docker images (and push the new tagged release to a registry). Do you know any CI/CD examples for that purpose?
meant moreso fo rsecutity
i use codefresh for wut ur talking about