Install docker desktop
docker info

Get code server image
docker pull code-server
- Open docker desktop and select images. There will be an image of the code server you just pulled. Click Run
- Fill in the configuration information, as shown in the figure below

- In the new container, click open in browser. Chrome will be opened and you need to fill in the password
- Enter the new container, execute the following code, copy the password and enter it in chrome
nano ~/.config/code-server/config.yaml

- Change the URL of chrome tohttp://localhost:9999/?folder=/vscode
- The address after folder is the file directory name of the server configured when creating a new container
- If you modify the contents of the file, the corresponding file under local / users / ZYJ / HiPAC will be modified synchronously
The final effect
