/Running Docker on Oracle Linux with ChatGPT

Running Docker on Oracle Linux with ChatGPT

OpenAI is one the top leading company in Artificial Intelligence. Their research laboratory has brought to life DALL-E2 and OpenAI Codex. Now we have ChatGPT.

What is ChatGPT?

ChatGPT is a chat system based on the GPT-3 Artificial Intelligence language model, developed by OpenAI. It’s a model with more than 175 million parameters, and trained with large amounts of text to perform language-related tasks, from translation to text generation. It’s the next revolution and we’ve already seen tweets and articles showing some of the capabilities.

Let’s run Oracle Linux and Docker!

We were wondering if you could install Oracle Linux and run docker on it. Jonas Degrave, from Deepmind, did a nice post around converting ChatGPT into a linux terminal by stating: “I want you to act as a Linux terminal. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. Do no write explanation. Do not type commands unless I instruct you to do so. When I need to tell you something in English I will do so by putting text inside curly brackets {like this}. My first command is pwd.”

The oucome was:

Nice. Let’s install Oracle Linux and the appropriate package before enabling the repository

We will configure the system to use the Unbreakable Enterprise Kernel Release 5 (UEK R5) or later.

Let’s check the Oracle linux release:

To install the docker-engine and docker-cli packages:

We will pull download an Oracle Linux image using the docker pull command from the Docker Hub and check that we have the image:

Let’s start the docker service and check the status. We will use the docker run command to run an application inside a container: docker run -i -t –name guest oraclelinux:7-slim

Finally, let’s inspect the host networking….it should show the default configuration of host network driver:

That’s all folks! This was just a quick example of things that you could do with ChatGPT. I wonder if this AI will evolve to a point that it can replace testing environments. Would be amazing to just describe the type of environment you would like to deploy, including the definition of the CI/CD pipelines and images you want to try and the different tests you want to run.

Once “texted”, grab a coffee, sit back and relax. Seems the future is coming really really fast.