The
hostnamectl set-hostname hostname
The
hostnamectl set-hostname hostname
This article introduces how I use docker to optimize my own image files. Directly shrink the image files in the directory, and optimize the graphics with one line of command.
When developing Laravel, sometimes we need to install nodejs packages through npm, but Node in our system is not new enough. It may be impossible to upgrade due to some factors, such as running an old version of nodejs program, etc. In fact, we can use docker through simple commands, so that we can use the latest version of node image to mount the /sites folder on the host side. In this way, we can execute the new version of the npm command at any time.
Is a Raspberry connected to a power bank and an iPhone considered a laptop? :p
No Comment
Post your comment