# NapCat-Docker NapCat-Docker ## 正向 WS ```shell docker run -d \ -e ACCOUNT=<机器人qq> \ -e WS_ENABLE=true \ -p 3001:3001 \ --name napcat \ mlikiowa/napcat-docker:latest ``` ## 反向 WS ```shell docker run -d \ -e ACCOUNT=<机器人qq> \ -e WSR_ENABLE=true \ -e WS_URLS="ws://localhost:5140/onebot" \ --name napcat \ mlikiowa/napcat-docker:latest ``` ## HTTP ```shell docker run -d \ -e ACCOUNT=<机器人qq> \ -e HTTP_ENABLE=true \ -e HTTP_POST_ENABLE=true \ -e HTTP_URLS="http://localhost:5140/onebot" \ -p 3000:3000 \ --name napcat \ mlikiowa/napcat-docker:latest ```