programmer group

Creation and application of docker data volume

Adding, deleting or modifying files in a container is actually an operation on the copy of files in the writable layer. After the container is closed, the writable layer will also be deleted, and all modifications to the container will be invalid. Therefore, it is necessary to solve the problem of file persistence in the container. Docker provides two solutions to achieve this 1、 Creating a volume when docker mounts: map the...

programmer group

NPM: a prerequisite for front end development

introduce NPM is based on node.js Developed software NPM is node.js The default package management tool is necessary for modern front-end development Check whether NPM is installed successfully npm -v NPM image becauseNPM default imageIt’s abroad, so the download speed is very slow and unstable, so you need to switch back to the domestic image (the most famous image in China is Alibaba’s) View NPM current image npm...