This is actually easy to make. All you have to do is program the TARDIS to materialize inside a bottle. But Craftster user hpotterwizard went to the trouble of building a model TARDIS inside a bottle.

So here's my idea for an episode: the TARDIS materializes inside a bottle like this one, then breaks down. The Doctor and his companions are trapped inside and can only watch as strange events take place on the other side of the glass.