continuous integration of docker image by running locally with its own IP?

I am trying out google container engine or kubernetes and have deployed a simple mean stack on it. I am doing following below steps in my local machine to deploy new changes.

docker push commands takes a lot of time (and my network speeds are not great)

  • Wasabi automatically restart docker container
  • Fabric Composer quick-start failing when trying to deploy the bna file on OSX
  • Unable to connect to SQL Server Express container on host VM
  • Run mongo shell script in mongo docker container
  • Concurrency error while executing DocumentDB stored procedure on multiple Docker containers
  • permission denied, mkdir in container on openshift
  • docker build --no-cache -t$PROJECT_ID/my-app:v7 .
    # below command takes a lot of time to push
    gcloud docker push$PROJECT_ID/my-app:v7
    kubectl set image deployment/my-app-pod$PROJECT_ID/my-app:v7

    Question is in two parts:

    1. How can I optimise continuous integration here – especially docker push command taking an hour ?

    2. How can I run docker image with its own IP on my local machine – as I am doing small changes and testing a behaviour(session,cookies) which is only reproducible with an external-ip and not on http://localhost. Answer to this will help first part of question.

  • Easiest way to connect with PuTTY to an existing docker container
  • How do I push and pull from docker hub in Jenkins declarative pipeline
  • Data lost after dinghy restart (postgres container)
  • Docker port uncertainty
  • Accessing host server from container during build Docker
  • chef-container + chef-vault
  • One Solution collect form web for “continuous integration of docker image by running locally with its own IP?”

    For the second part:

    Just start using something like minkube – which is like a local development version of Kubernetes.

    You can then deploy your app easily to an actual local Kubernetes instance, and then once satisfied, you can push to gcloud.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.