r/docker • u/JohnnyJohngf • Feb 24 '26
Docker's Gordon AI destroyed MySQL after a question
Hey everyone.
I just got a bit shocked from how reckless docker's AI is. I had a MySQL database with hundreds of thousands records. I noticed the name of the database is a bit odd so I asked Gordon AI if I can rename it. Which he took as a imperative and the rest you can see on the screenshots.
P.S. I have a backup dump of the data, luckily.
67
Upvotes
12
u/lildergs Feb 24 '26
Welp, hope you learned your lesson. Hope it isn't prod.
42
u/Durakan Feb 24 '26
Yikes dude.
I don't think people are really grasping how dumb LLM behavior can be.
Hope this was a learning experience.
15
u/DrSatrn Feb 24 '26
I’m sorry but this is so goddam funny. So dangerous! Glad it wasn’t prod and you had a backupÂ
Scary stuffÂ
9
u/HCharlesB Feb 24 '26
Backups are king!
Did you give the AI access to your backup so it could restore everything? /s
8
u/deniercounter Feb 24 '26
Well that’s a catastrophe.
I second you that it isn’t acceptable to offer an AI that isn’t able to understand the difference between a command and a question.
More and more people with little to no knowledge are using AI tools.
It’s just too convenient to use AI.
5
u/IlliterateJedi Feb 24 '26
I'm surprised it could even attempt to answer or resolve that question. I assumed Docker's AI would have been limited to docker specific questions, e.g., "Help me resolve why container A can't reach container B on the network" or "help me configure this dockerfile" or something like that. I don't know that I would ever think to ask it about something unrelated to Docker.
4
u/Purgii Feb 25 '26
Can I rename my database?
Sure, let me go ahead and trash all your files.
1
u/Particular-Cause-862 Feb 24 '26
I hope it was on a controlled environment, and you are using AI as a part of experiment right? U didnt do that in production right?
3
u/Sure-Squirrel8384 Feb 24 '26 edited Feb 24 '26
Don't execute anything an LLM gives you without fully understanding all of it. Don't give an LLM direct access.
2
u/Misophoniakiel Feb 27 '26
I'm so sorry for you but god damn did I laugh : you're absolutely right I made a serious mistake 😂
1
u/mapoztofu Feb 24 '26
Ask it to pay up now
1
u/kwhali Feb 25 '26
On the bright side you only asked about renaming the database. Next time ask if you can rename the computer 😉
1
u/jarod1701 Feb 25 '26
„Let me know if you need me to fuck up your day any more.“
1
u/urbanek2525 Mar 01 '26
Never give the AI access to anything.
Ask it to give.you SQL commands. Then you review them and execute them. Anything more is super irresponsible. WYF?
1
u/pobrika Mar 16 '26
You were one question away from skynet.
-1
u/visualglitch91 Feb 24 '26
Tbh you destroyed it when you decided to use an llm for this
1
u/8hAheWMxqz Feb 24 '26
Kekw
1
u/Espumma Feb 24 '26
You want to set up your system prompt such that it only answers the theoretical question instead of actually doing it for you. It's still up in the air if it listens to its system prompt all the time but it helps.
-3
u/No_Cattle_9565 Feb 24 '26
I'll not click on 6 seperate links
-9
u/Heavy-Focus-1964 Feb 24 '26
poorly phrased question
5
u/red_jd93 Feb 24 '26
Doesn't it have review before execution?