You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
%E5%BF%AB%E9%80%9F%E9%85%8D%E7%BD%AEUbuntu-Docker%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83/
下面指令执行之前建议先挂个代理 启动一个 Ubuntu 容器 1 2 xhost +;\ podman run -it --net=host -e DISPLAY=$DISPLAY --name=devenv -v /home/hcy/Documents/ubuntu/:/home/devenv/ ubuntu /bin/bash Ubuntu 容器基本设置 1 2 3 4 5 6 7 8 9 apt update;\ apt upgrade -y;\ apt install jq xz-utils curl sudo git apt-transport-https ca-certificates ripgrep vim-tiny -y;\ useradd -m devenv;\ usermod -s /bin/bash devenv;\ sudo sh -c 'echo "devenv ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers';\ sudo chown devenv /home/devenv/;\ sudo chgrp devenv /home/devenv/;\ su devenv 切换到普通用户目录 1 2 3 cd ~;\ pwd;\ touch .
https://hcy-asleep.github.io/%E5%BF%AB%E9%80%9F%E9%85%8D%E7%BD%AEUbuntu-Docker%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83/
Beta Was this translation helpful? Give feedback.
All reactions