Simple take the container, place the part where you want the head to form and place it on the outside then spin the container fast thus creating centrifugal force aka artificial gravity. But make sure you are securely anchored before beginning the spinning action.
Glad to help.
BTW I have experience in designing for zero gravity. The eldest some years ago won a place at Space Camp from here in Scotland and had to design something to make the astronaut's lives easier. We came up with a coffee brewer based on a heat source and one way valves.
I'm not entirely sure how the Italian made machine which was sent up works. Maybe we should have applied for a patent . . .