They sleep straped to the wall
The compartment of a spacecraft where astronauts live and work is typically called the habitation module or crew module. This is the area where astronauts eat, sleep, conduct experiments, and control the spacecraft.
The U.S. astronauts go to sleep in their spacecraft in their sleeping bags , all tied up neatly. the sleeping time is according to the Houston night time, the Russian sleep according to Moscow time.
Astronauts do not sleep in traditional beds; instead, they sleep in sleeping bags that are secured to the walls of their spacecraft or space station. This prevents them from floating around in microgravity while they sleep. The sleeping bags help provide a sense of security and comfort, allowing astronauts to rest while minimizing the risk of drifting into equipment or other crew members.
To stop them floating about in the spacecraft.
The Gemini spacecraft carried two astronauts to the moon.
Apollo 11 was the spacecraft
The plural form of astronaut is astronauts.
The astronauts entered the Apollo spacecraft by a hatch.
The straps that astronauts wear in the spacecraft are called harnesses. They are designed to keep astronauts secure and in place during launch, landing, and in case of emergencies.
APOLLO
Astronauts sleep in sleeping bags that are attached to the walls of their spacecraft using Velcro straps. They can sleep in any orientation—upside down, sideways, or even standing up—because there is no up or down in microgravity. They can also use eye masks and earplugs to block out light and noise.
The spacecraft that astronauts go up in, have their own life support systems which regulate conditions to keep the spacecraft hospitable.