A container is a huge box that is usually 10 to 40 feet long and used mostly for ocean freight. It is carried to and from ports by truck or railroad. In addition, the term container refers to the packaging used to ship products, such as boxes or bags.