Code Monkey home page Code Monkey logo

build-vpn-server's Issues

Stop existing containers that might have conflict

If a pipeline runs in the same server that has the VPN service running from the previous attempt, the pipeline should be able to stop the service before the conflict happens.

However, if the intended port is used by the user already, then the pipeline probably doesn't know how to stop it, and just throw an error.

Doesn't work as expected as of 15 Oct 2023

Getting error after running command

Unable to find image 'thomasleplus/qrcode:latest' locally
docker: Error response from daemon: pull access denied for thomasleplus/qrcode, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.

Seems the thomasleplus/qrcode image is deleted by user

Some VPS doesn't have usermod

AWS Debian 10 AMI doesn't have usermod. See https://github.com/certaintls/build-VPN-server/runs/4679434635?check_suite_focus=true

err: bash: line 2: usermod: command not found
out: 
out: ================================================================================
out: 
out: To run Docker as a non-privileged user, consider setting up the
out: Docker daemon in rootless mode for your user:
out: 
out:     dockerd-rootless-setuptool.sh install
out: 
out: Visit https://docs.docker.com/go/rootless/ to learn about rootless mode.
out: 
out: 
out: To run the Docker daemon as a fully privileged service, but granting non-root
out: users access, refer to https://docs.docker.com/go/daemon-access/
out: 
out: WARNING: Access to the remote API on a privileged Docker daemon is equivalent
out:          to root access on the host. Refer to the 'Docker daemon attack surface'
out:          documentation for details: https://docs.docker.com/go/attack-surface/
out: 
out: ================================================================================
out: 
err: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/gost-ss-kcp/stop": dial unix /var/run/docker.sock: connect: permission denied
err: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/gost-ss/stop": dial unix /var/run/docker.sock: connect: permission denied
err: docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create?name=gost-ss-kcp": dial unix /var/run/docker.sock: connect: permission denied.
err: See 'docker run --help'.
err: docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create?name=gost-ss": dial unix /var/run/docker.sock: connect: permission denied.
err: See 'docker run --help'.
20***/01/01 13:20:40 Process exited with status 126

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.