At my dacha I once tried experimenting with plastic too - I grabbed containers leftover from store-bought food and thought, why bother looking for glass. The result was depressing: after a month the lid stopped sealing properly, some kind of stickiness appeared, and the marinade started smelling weird, not fresh. Cucumbers in glass jars next to them were fine, but I threw these ones out.
The real problem is that vinegar and salt act aggressively on plastic - it starts to soften and deform, the seal gets compromised. Even if the container seemed airtight at first, over time microcracks appear and the preservation doesn't hold. Plus, when the plastic softens, it can leach its compounds into the food - it's not critically dangerous for your health, but the taste gets ruined and the shelf life drops drastically.
If you don't have enough jars, better find regular glass ones - they sell them cheap at the market or you can grab used ones on Avito. It's worth it, because pickled vegetables will sit fine for half a year instead of just a couple months. Leave plastic for other things - for storing ready-made appetizers in the fridge already, but not for shelf storage when canning.