SpaceX’s astronaut-riding Dragon capsule approached the International Space Station on Sunday, just hours after a historic liftoff from Florida.

NASA astronauts Doug Hurley and Bob Behnken reported that the capsule was performing beautifully, as they closed in for the docking. The gleaming white capsule was easily visible from the station, its nose cone open exposing its docking hook, as the two spacecraft zoomed a few miles apart above the Atlantic, then Africa, then Asia.

It's the first time a privately built and owned spacecraft is carrying crew to the orbiting lab. Hurley, the Dragon’s commander, prepared to take manual control for a brief test, then shift the capsule into automatic for the linkup, 19 hours after liftoff.

A SpaceX Falcon 9, with NASA astronauts Doug Hurley and Bob Behnken in the Crew Dragon capsule, lifts off from Pad 39-A at the Kennedy Space Center in Cape Canaveral, Fla., Saturday, May 30, 2020. The two astronauts are on the SpaceX test flight to the International Space Station. For the first time in nearly a decade, astronauts blasted towards orbit aboard an American rocket from American soil, a first for a private company. (AP PhotoDavid J. Phillip)

A SpaceX Falcon 9, with NASA astronauts Doug Hurley and Bob Behnken in the Crew Dragon capsule, lifts off from Pad 39-A at the Kennedy Space Center in Cape Canaveral, Fla., Saturday, May 30, 2020. The two astronauts are on the SpaceX test flight to the International Space Station. For the first time in nearly a decade, astronauts blasted towards orbit aboard an American rocket from American soil, a first for a private company. (AP PhotoDavid J. Phillip)

In case of a problem, the astronauts slipped back into their pressurized launch suits for the docking. The three space station residents trained cameras on the incoming capsule for flight controllers at SpaceX headquarters in Hawthorne, California, as well as NASA's Johnson Space Center in Houston.

SpaceX launched the Dragon from Kennedy Space Center on Saturday afternoon, the first astronaut launch to orbit from the U.S. in nearly a decade. Thousands jammed surrounding beaches, bridges and towns to watch as Elon Musk's company ended a nine-year launch drought for NASA in spectacular fashion.

SpaceX and NASA officials were holding off on any celebrations until after Sunday's docking — and possibly not until the two astronauts are back on Earth sometime this summer.

In this photo provided by NASA, a SpaceX Falcon 9 rocket carrying the company's Crew Dragon spacecraft is seen in this false color infrared exposure as it is launched on NASA's SpaceX Demo-2 mission to the International Space Station with NASA astronauts Robert Behnken and Douglas Hurley onboard, Saturday, May 30, 2020, at NASA's Kennedy Space Center in Cape Canaveral, Florida. (Bill IngallsNASA via AP)

In this photo provided by NASA, a SpaceX Falcon 9 rocket carrying the company's Crew Dragon spacecraft is seen in this false color infrared exposure as it is launched on NASA's SpaceX Demo-2 mission to the International Space Station with NASA astronauts Robert Behnken and Douglas Hurley onboard, Saturday, May 30, 2020, at NASA's Kennedy Space Center in Cape Canaveral, Florida. (Bill IngallsNASA via AP)

In a show-and-tell earlier Sunday morning, the astronauts gave a quick tour of the Dragon's sparkling clean insides, quite spacious for a capsule. They said the liftoff was pretty bumpy and dynamic, nothing the simulators could have mimicked.

The blue sequined dinosaur accompanying them — their young sons' toy, named Tremor — was also in good shape, Behnken assured viewers. Tremor was going to join Earthy, a plush globe delivered on last year's test flight of a crew-less crew Dragon. Behnken said both toys would return to Earth with them at mission's end.

NASA has yet to decide how long Hurley and Behnken will spend at the space station, somewhere between one and four months. While they're there, the Dragon test pilots will join the one U.S. and two Russian space station residents, doing experiments and possibly spacewalks to install fresh station batteries.

The Associated Press Health and Science Department receives support from the Howard Hughes Medical Institute’s Department of Science Education. The AP is solely responsible for all content.