GithubHelp home page GithubHelp logo

v8fg / docker-compose-resources Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 2.0 458 KB

docker images resources generator, include: golang, alpine,ubuntu,jdk,mysql,etc.

License: MIT License

Makefile 33.01% Dockerfile 32.65% Shell 34.34%
docker docker-image dockerfiles docker-compose docker-container dockerfile golang-image golang ubuntu ubuntu-tensorflow

docker-compose-resources's Introduction

Docker Compose Resources

If you have any public images want to build , also can send email or issues, will deal it at my convenience, thks.

Image List

Usage

reference

docker pull [OPTIONS] NAME[:TAG|@DIGEST]

copy file to multi dirs

find . -type d -d 1|grep -v '^\./\.\|scripts'|xargs -n 1 cp -v alpine/Makefile

Project Structure

┌── golang:                         golang related Dockerfile & docker-compose file
    |__ latest:                     golang version latest image dir
        |__ docker-compose.yml:     docker compose file, use to create and start container
        |__ docker-version.sh:      version info for build and push docker image
        |__ Dockerfile:             define the docker image
    |__ latest-upx:                 golang latest version with upx
    |__ Makefile:                   use command make to build, push and run docker images for golang
|___xxx:                            xxx  related Dockerfile & docker-compose file
|__ scripts:                        common scripts
    |__ docker-build.sh:            docker image build script
    |__ docker-clean.sh:            docker images clean, contains none for REPOSITORY or TAG
    |__ docker-push.sh:             docker image push script
    |__ docker-run.sh:              script for run the special version docker image
|__ .gitignore:                     gitignore
|__ Makefile:                       use command make to build and push latest docker image

Docker and DockerCompose Set

Tip

  • alpine 3.14+, need Docker version 20.10.3+

Recommendation

Binaries Install

sudo cp docker/* /usr/bin/

DockerCompose

brew install docker-compose

docker-compose.yml env priority

  • Compose file
  • Shell environment variables(use command source enable set)
  • Environment file
  • Dockerfile
  • Variable is not defined

mirrors site

docker-compose-resources's People

Contributors

xwi88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-compose-resources's Issues

MacOS build ubuntu22.04 failed with error DPkg::Post-Invoke

same issue can ref: tianon/docker-brew-ubuntu-core#236

issue show:

Setting up libc-bin (2.35-0ubuntu3) ...
E: Problem executing scripts DPkg::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'
E: Sub-process returned an error code

vesion:

Client: Docker Engine - Community
 Version:           20.10.11
 API version:       1.41
 Go version:        go1.17.2
 Git commit:        dea9396e18
 Built:             Wed Nov 17 23:49:46 2021
 OS/Arch:           darwin/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.8
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.6
  Git commit:       75249d8
  Built:            Fri Jul 30 19:55:09 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.4.9
  GitCommit:        e25210fe30a0a703442421b0f60afac609f950a3
 runc:
  Version:          1.0.1
  GitCommit:        4144b63817ebcc5b358fc2c8ef95f7cddd709aa7
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

tmp solved:

  • linux build

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.