While this recipe is designed for refrigerator pickles, you can safely can pickled onions following proper canning guidelines.