Flexible machinery that accommodates varied application and container types