Appearance
Docker
运行容器,进入 Node.js 交互模式。
docker run -it --rm node:24-alpineWelcome ro Node.js 24
Type ".help" for more information.
>退出交互模式,即退出容器。
.exit运行容器,进入 sh 。
docker run -it --rm --entrypoint sh node:24-alpine/ #进入交互模式。
nodeWelcome ro Node.js 24
Type ".help" for more information.
>退出交互模式。
.exit退出容器。
exit