In the UK we usually grow our tomatoes in containers.
There are many different shapes and sizes of container for tomato growing, each having its own pros and cons. For example, grow bags are great for tall varieties and have a large surface area for oxygen absorption by surface roots.
The disadvantage with such a large surface area and shallow depth of soil is that soil or compost dries out quickly.
For more information about growing tomatoes in containers.