Container Setup in Docker and Kubernetes


Recommended Posts

Hello Everyone, I am learning cloud computing and I am confused to choose between docker and kubernetes as a container setup point. As I know about docker swarm API doesn’t support all Docker commands, it offers almost all the best functionality from Docker. So, Docker Swarm supports most of the tools available for Docker. However, if the Docker API is not capable of some required operation, there is no easy workaround available for utilizing the same in Docker Swarm. Can anyone know about kubernetes or tell me which one is better docker or kubernetes?

Link to comment
On 5/7/2020 at 3:05 PM, adisharma said:

Hello Everyone, I am learning cloud computing and I am confused to choose between docker and kubernetes as a container setup point. As I know about docker swarm API doesn’t support all Docker commands, it offers almost all the best functionality from Docker. So, Docker Swarm supports most of the tools available for Docker. However, if the Docker API is not capable of some required operation, there is no easy workaround available for utilizing the same in Docker Swarm. Can anyone know about kubernetes or tell me which one is better docker or kubernetes?

Docker is used to isolate your application into containers. It is used to pack and ship your application. Kubernetes on the other hand is a container scheduler. It is used to deploy and scale your application.

Link to comment

Yes, I read that Kubernetes has its very own version of API, client definitions, and YAML. However, these vary from that of their Docker counterparts. Hence, there is no possibility of using Docker CLI or Docker Compose for defining containers in Kubernetes. In scenarios where the platform needs to be switched, YAML commands and definitions are required to be rewritten from this post. Now i am clear on this which one is better for future point of view.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.