Hats off to your Work Sir. You're doing such a great job
@shaunrosario1129 ай бұрын
Hey Travis,sorry I know this might not be video topic related but if I am planning to start of with Kubernetes after having watched your videos for the prerequisites// Can I start with the Certified Kubernetes Administrator (CKA) with Practice Tests in Udemy or do I HAVE to start with the beginners course before that? Great video btw!!
@zxyi90909 ай бұрын
Yes, very useful and thanks for highlighting
@abdirahmanabdullahi54719 ай бұрын
Is there a way to create docker image for existing postgres database with its data? I have spring boot application that works with postgres. I want to create an image using with using docker compose file.
@FranckJacottin8 ай бұрын
1 - SQL Dump pg_dump -U your_username -h localhost -p 5432 your_database_name > your_database_dump_file 2 - Create a Dockerfile from your DB FROM postgres:latest ENV POSTGRES_USER your_username ENV POSTGRES_PASSWORD your_password ENV POSTGRES_DB your_database_name COPY ./your_database_dump_file /docker-entrypoint-initdb.d/ 3 - create a compose file version: '3' services: postgres: build: context: . dockerfile: Dockerfile ports: - "5432:5432" environment: POSTGRES_USER: your_username POSTGRES_PASSWORD: your_password POSTGRES_DB: your_database_name spring-boot-app: image: your_spring_boot_app_image ports: - "8080:8080" depends_on: - postgres 4 - run docker-compose up --build
@abdirahmanabdullahi54718 ай бұрын
@@FranckJacottin Thanks. It finally worked after struggle.