It seems you don’t have permission to create folders in /, so you could try to create a /workspace folder or any other home folder and see, if Python could write to it. Alternatively you might want to change permissions inside your docker container (but you should be root by default, shouldn’t you?).