minor #25257 [link] clear the cache after linking (dunglas)
minor #25257 [link] clear the cache after linking (dunglas)

This PR was squashed before being merged into the 2.7 branch (closes #25257).

Discussion
----------

[link] clear the cache after linking

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md files -->
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Clearing the cache after linking prevents fatal errors when a container already exists.

Commits
-------

05c3c81a20 [link] clear the cache after linking

shieldo/symfony,shieldo/symfony,hhamon/symfony,fabpot/symfony,ogizanagi/symfony,dmaicher/symfony,Nyholm/symfony,jean-gui/symfony,smatyas/symfony,SaschaDens/symfony,Tobion/symfony,shieldo/symfony,smatyas/symfony,zorn-v/symfony,andreia/symfony,damienalexandre/symfony,jvasseur/symfony,tgalopin/symfony,docteurklein/symfony,tucksaun/symfony,jvasseur/symfony,inso/symfony,Einenlum/symfony,smatyas/symfony,nicolas-grekas/symfony,gimler/symfony,lstrojny/symfony,joelwurtz/symfony,inso/symfony,stof/symfony,vincentaubert/symfony,fabpot/symfony,OndraM/symfony,Taluu/symfony,jderusse/symfony,dunglas/symfony,derrabus/symfony,pamil/symfony,garak/symfony,jean-gui/symfony,michaelperrin/symfony,nicolas-grekas/symfony,hacfi/symfony,maidmaid/symfony,fabpot/symfony,pamil/symfony,Einenlum/symfony,docteurklein/symfony,symfony/symfony,teohhanhui/symfony,ragboyjr/symfony,Tobion/symfony,Slamdunk/symfony,pierredup/symfony,ro0NL/symfony,mpdude/symfony,pyrech/symfony,chalasr/symfony,mihai-stancu/symfony,gencer/symfony,d-ph/symfony,pamil/symfony,zerkms/symfony,OskarStark/symfony,1ed/symfony,symfony/symfony,iltar/symfony,weaverryan/symfony,gimler/symfony,andrerom/symfony,pyrech/symfony,MatTheCat/symfony,deguif/symfony,voronkovich/symfony,pierredup/symfony,xabbuh/symfony,gonzalovilaseca/symfony,lyrixx/symfony,Soullivaneuh/symfony,paradajozsef/symfony,mnapoli/symfony,mweimerskirch/symfony,nasimnabavi/symfony,bendavies/symfony,weaverryan/symfony,voronkovich/symfony,romaricdrigon/symfony,paradajozsef/symfony,ogizanagi/symfony,alekitto/symfony,dmaicher/symfony,damienalexandre/symfony,alekitto/symfony,Simperfit/symfony,gimler/symfony,Koc/symfony,hacfi/symfony,mihai-stancu/symfony,paradajozsef/symfony,zcodes/symfony,d-ph/symfony,mweimerskirch/symfony,lstrojny/symfony,zorn-v/symfony,hhamon/symfony,zerkms/symfony,jakzal/symfony,weaverryan/symfony,jakzal/symfony,garak/symfony,vincentaubert/symfony,Koc/symfony,pamil/symfony,docteurklein/symfony,iltar/symfony,zorn-v/symfony,sgehrig/symfony,gimler/symfony,1ed/symfony,dmaicher/symfony,inso/symfony,kbond/symfony,nasimnabavi/symfony,alekitto/symfony,ro0NL/symfony,ajgarlag/symfony,jderusse/symfony,Soullivaneuh/symfony,voronkovich/symfony,yceruto/symfony,chalasr/symfony,1ed/symfony,mpdude/symfony,mnapoli/symfony,SaschaDens/symfony,e-moe/symfony,OndraM/symfony,zcodes/symfony,symfony/symfony,Pierstoval/symfony,SpacePossum/symfony,Einenlum/symfony,mnapoli/symfony,phramz/symfony,lyrixx/symfony,1ed/symfony,xabbuh/symfony,teohhanhui/symfony,mpdude/symfony,mnapoli/symfony,Deamon/symfony,gencer/symfony,Slamdunk/symfony,kbond/symfony,phramz/symfony,joelwurtz/symfony,Deamon/symfony,d-ph/symfony,tucksaun/symfony,ajgarlag/symfony,phramz/symfony,apetitpa/symfony,paradajozsef/symfony,oleg-andreyev/symfony,vincentaubert/symfony,arjenm/symfony,curry684/symfony,phramz/symfony,dmaicher/symfony,tucksaun/symfony,WhiteEagle88/symfony,romaricdrigon/symfony,bendavies/symfony,frankdejonge/symfony,frankdejonge/symfony,ajgarlag/symfony,Soullivaneuh/symfony,frankdejonge/symfony,andreia/symfony,zerkms/symfony,bendavies/symfony,pyrech/symfony,michaelperrin/symfony,Nyholm/symfony,Simperfit/symfony,e-moe/symfony,gencer/symfony,zerkms/symfony,mnapoli/symfony,damienalexandre/symfony,deguif/symfony,nasimnabavi/symfony,localheinz/symfony,maidmaid/symfony,michaelperrin/symfony,smatyas/symfony,lyrixx/symfony,MatTheCat/symfony,apetitpa/symfony,iltar/symfony,mweimerskirch/symfony,arjenm/symfony,andrerom/symfony,arjenm/symfony,vincentaubert/symfony,Deamon/symfony,gnat42/symfony,Soullivaneuh/symfony,joelwurtz/symfony,SaschaDens/symfony,bendavies/symfony,ogizanagi/symfony,ro0NL/symfony,Einenlum/symfony,Taluu/symfony,apetitpa/symfony,zcodes/symfony,mpdude/symfony,Koc/symfony,inso/symfony,c960657/symfony,SpacePossum/symfony,OskarStark/symfony,e-moe/symfony,deguif/symfony,andreia/symfony,maidmaid/symfony,mihai-stancu/symfony,Slamdunk/symfony,OndraM/symfony,Tobion/symfony,ragboyjr/symfony,sroze/symfony,sgehrig/symfony,tgalopin/symfony,e-moe/symfony,c960657/symfony,symfony/symfony,romaricdrigon/symfony,shieldo/symfony,OskarStark/symfony,HeahDude/symfony,Tobion/symfony,gonzalovilaseca/symfony,derrabus/symfony,pierredup/symfony,fabpot/symfony,Simperfit/symfony,xabbuh/symfony,oleg-andreyev/symfony,Simperfit/symfony,curry684/symfony,tgalopin/symfony,teohhanhui/symfony,HeahDude/symfony,stof/symfony,docteurklein/symfony,gonzalovilaseca/symfony,damienalexandre/symfony,oleg-andreyev/symfony,arjenm/symfony,jean-gui/symfony,Deamon/symfony,dunglas/symfony,hhamon/symfony,yceruto/symfony,jakzal/symfony,d-ph/symfony,OndraM/symfony,jvasseur/symfony,ogizanagi/symfony,ro0NL/symfony,OskarStark/symfony,curry684/symfony,MatTheCat/symfony,WhiteEagle88/symfony,smatyas/symfony,Pierstoval/symfony,nicolas-grekas/symfony,inso/symfony,sroze/symfony,kbond/symfony,WhiteEagle88/symfony,joelwurtz/symfony,SpacePossum/symfony,hhamon/symfony,sroze/symfony,stof/symfony,andreia/symfony,Nyholm/symfony,Taluu/symfony,gnat42/symfony,ajgarlag/symfony,andrerom/symfony,localheinz/symfony,Slamdunk/symfony,mihai-stancu/symfony,nasimnabavi/symfony,garak/symfony,derrabus/symfony,lstrojny/symfony,HeahDude/symfony,frankdejonge/symfony,teohhanhui/symfony,jderusse/symfony,sroze/symfony,chalasr/symfony,gnat42/symfony,ragboyjr/symfony,OndraM/symfony,apetitpa/symfony,weaverryan/symfony,localheinz/symfony,yceruto/symfony,pierredup/symfony,Simperfit/symfony,kbond/symfony,nicolas-grekas/symfony,maidmaid/symfony,mweimerskirch/symfony,stof/symfony,romaricdrigon/symfony,yceruto/symfony,MatTheCat/symfony,sgehrig/symfony,Koc/symfony,tucksaun/symfony,derrabus/symfony,zcodes/symfony,jean-gui/symfony,mihai-stancu/symfony,dunglas/symfony,HeahDude/symfony,c960657/symfony,Soullivaneuh/symfony,sgehrig/symfony,curry684/symfony,SpacePossum/symfony,ragboyjr/symfony,xabbuh/symfony,andrerom/symfony,Deamon/symfony,jakzal/symfony,iltar/symfony,Pierstoval/symfony,voronkovich/symfony,pyrech/symfony,garak/symfony,Nyholm/symfony,c960657/symfony,chalasr/symfony,michaelperrin/symfony,zorn-v/symfony,localheinz/symfony,lyrixx/symfony,oleg-andreyev/symfony,docteurklein/symfony,tgalopin/symfony,hacfi/symfony,mweimerskirch/symfony,Taluu/symfony,jderusse/symfony,SaschaDens/symfony,alekitto/symfony,gonzalovilaseca/symfony,jvasseur/symfony,SaschaDens/symfony,SpacePossum/symfony,Pierstoval/symfony,gnat42/symfony,deguif/symfony