On Windows 10, the correct fix for this seems to be restarting the Docker service:
docker start 218098334fb9b3ffdeaef1492d19c55a01272354fbf8cbba84ac3b5af650ccdd
Error response from daemon: driver failed programming external connectivity on endpoint vespa (b6770d0fb6761c3161a2b565ee34a8b594fdb9a823d92b568c8484c98a2e8e94): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:8080:tcp:172.17.0.2:8080: input/output error
This works!