拉取并运行nodejs docker run --restart=always --name nodejs -i -t node:20.10.0 bash 输入node -v查看是否成功 node -v 退出当前环境 exit