Yes, pickles can be stored in any containers except metal containers. The acetic acid in pickles helps in preserving it.
Pickles contain citric acid and acetic acid. These acids react with metals but not with glass or plastic.
So pickles can be safely stored in any containers except metal containers.