use docker mode to develope sfdx
vscode config
1
2
3
4
5
6
{
"xysfdx.shellMode": "docker",
"xysfdx.shellPath": "",
"xysfdx.dockerContainer": "${lowercaseWorkspaceName}_sfdx_1",
"xysfdx.dockerAppRoot": "/app/sfdx"
}
How to use docker ?
- pull images :
docker: pull image exiasfdc/sfdx
- create container :
docker: create sfdx container
- use docker shell :
docker: attach docker shell
then , use the xysfdx
to develope sfdx.
attention
- can not use
force:auth:web:login
orforce:auth:web:login:setdefaultusername
- can not use
force:project:create
- use
xy:auth:username:login
to auth