Category : devops

i try to do a simple script to run docker-compose and when container is running by docker-compose it should enter inside container and start glassfish with ./asadmin start-domain domain1 docker-compose file my docker compose file Script of running docker-compose & glassfish container #!/bin/sh docker-compose up -d docker exec -it glassfishapp bash -c ‘cd glassfish5/bin && ..

Read more

I am using github actions to build and push my images to github registry. This is my deploy file, name: Build and Push on: push: branches: – develop jobs: build_and_push_to_github_registry: runs-on: ubuntu-latest steps: – name: Checkout uses: actions/[email protected] – name: Login to Github Container Registry uses: docker/[email protected] with: registry: ghcr.io username: ${{ github.actor }} password: ..

Read more

For deploying the application on Google Run. I have create Dockerfile with the following content : ### STAGE 1: Build ### FROM node:latest AS build WORKDIR /app COPY package.json package-lock.json ./ RUN npm install COPY . . RUN npm run build ### STAGE 2: Run ### FROM nginx:1.19.9-alpine COPY –from=build /app/dist/aistudio /usr/share/nginx/html The problem which ..

Read more

my shared volume is not propagating and I’m not sure why. My docker version is Client: Docker Engine – Community Cloud integration: 1.0.9 Version: 20.10.5 API version: 1.41 Go version: go1.13.15 Git commit: 55c4c88 Built: Tue Mar 2 20:13:00 2021 OS/Arch: darwin/amd64 Context: default Experimental: true Server: Docker Engine – Community Engine: Version: 20.10.5 API ..

Read more