Interaction is limited to waves and gestures, some pleasantries with shipping clerks, small talk at the truck stop.

Almost all of a day’s 24 hours, awake and asleep, are spent in the cab. When he is parked, and closes the curtains to the outside world, he is in full quarantine. He calls home. He cooks on his George Foreman grill. He watches DVDs. He posts videos to his YouTube channel. He sleeps on the little mattress.

“I live in something smaller than a jail cell all the time,” Mr. Woolsey said. “I hear other people complaining, and I’m like, get over it. There’s lots of us living like this all the time, coronavirus or not.”

He is not sure how long he can outrun the virus, or its effects on the trucking business. Fewer overseas shipments into the ports mean fewer trucks needed to haul them into the nation’s interior. Slowing production and falling revenues for American companies will trickle into the thinning bloodstream of transportation.

“Trucking is just booming, and we’ve got to move stuff to restock Costco and Walmart and all the grocery stores,” said Todd Amen, chief executive of American Truck Business Services, which provides financial services for drivers. “That’s happening right now,” he said. “It just depends on how long this lasts.”

By at least one gauge, the industry appears to be holding steady. Travel Centers of America, which has more than 260 truck stops in the United States, said that its sales of diesel, which powers most large trucks, had a double-digit spike in early March.

Sales have settled in recent days to “positive low-single digits, year over year,” chief executive Jon Pertchik said. Predicting the next few weeks, he said, is difficult.