Replies: 1 comment
-
@achaosss sometime, the localhost of WSL2 and your Windows are not align.
And look for Also you can try to access to the Docker IP directly with:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
root@ZHS-154006054:/mnt/c/workshop/开发功能测试/full-stack-fastapi-template/my-awesome-project# docker compose logs backend
WARN[0000] /mnt/c/workshop/开发功能测试/full-stack-fastapi-template/my-awesome-project/docker-compose.yml:
version
is obsoleteWARN[0000] /mnt/c/workshop/开发功能测试/full-stack-fastapi-template/my-awesome-project/docker-compose.override.yml:
version
is obsoletebackend-1 | Checking for script in /app/prestart.sh
backend-1 | Running script /app/prestart.sh
backend-1 | INFO:main:Initializing service
backend-1 | INFO:main:Starting call to 'main.init', this is the 1st time calling it.
backend-1 | INFO:main:Service finished initializing
backend-1 | INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
backend-1 | INFO [alembic.runtime.migration] Will assume transactional DDL.
backend-1 | INFO [alembic.runtime.migration] Running upgrade -> e2412789c190, Initialize models
backend-1 | INFO:main:Creating initial data
backend-1 | INFO:main:Initial data created
backend-1 | INFO: Will watch for changes in these directories: ['/app']
backend-1 | INFO: Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
backend-1 | INFO: Started reloader process [1] using WatchFiles
backend-1 | INFO: Started server process [11]
backend-1 | INFO: Waiting for application startup.
backend-1 | INFO: Application startup complete.
Operating System
Windows
Operating System Details
Linux version 5.10.16.3-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Fri Apr 2 22:23:49 UTC 2021
Python Version
3.8
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions