安装
用官方提供的在线脚本安装
curl -fsSL https://code-server.dev/install.sh | sh
使用当前用户启动
sudo systemctl enable --now code-server@$USER
查看systemd日志可以看到
systemctl status code-server@$USE...
# 以mariadb 10.4为例
#进入容器
docker exec -it 3f0eb24d5127 /bin/bash
#查看进程
ps aux
#--output-->
#USER PID %CPU %MEM VSZ RS...