Hello I need to change the ports of a running container (I want to update current container, not creating a new one).
Apparently one way to achieve this is by changing the config.v2.json file for the container in question.
But I am running Docker on a Windows 10 machine, and I cannot find where that file is (on Linux it is on /var/lib/docker/containers/[container-id]/config.v2.json
and on Windows it used to be on c:\Programdata\Docker\Containers\[container-id]\config.v2.json
but this is not the case anymore).
Anyone knows where to access that file nowadays?
Or maybe there is a better approach to change config params of an existing container?
Thanks!
I found mine here (19.03.13-beta2)
\\wsl$\docker-desktop-data\version-pack-data\community\docker\containers\
For previous versions, it may be here
\\wsl$\docker-desktop-data\mnt\wsl\docker-desktop-data\data\docker
To access from within WSL \\wsl$
is /mnt/wsl
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With