How to assign static ip in docker for Windows for linux container?
You need create user define network

docker network create -d transparent --subnet=10.1.1.0/24 --gateway=10.1.1.1 TransparentNet3


Then you need run container with key --ip

docker run -it --name nano03 --network=TransparentNet3 --ip 10.1.1.1 someimage:sometag