GithubHelp home page GithubHelp logo

Docker bash about semaphore HOT 7 CLOSED

QIvan avatar QIvan commented on September 27, 2024
Docker bash

from semaphore.

Comments (7)

matejkramny avatar matejkramny commented on September 27, 2024

I'm not too familiar with how docker exec works but you can do docker run -it --rm semaphore /bin/bash

from semaphore.

prelegalwonder avatar prelegalwonder commented on September 27, 2024

@QIvan usually thin containers don't have full bash (like busybox).

Try docker exec -ti semaphore sh

from semaphore.

QIvan avatar QIvan commented on September 27, 2024

Thank you @prelegalwonder but I've tried this solution already. It's the same error:

$ docker exec -it semaphore sh
no such file or directory
$ echo $?
255

from semaphore.

QIvan avatar QIvan commented on September 27, 2024

@matejkramny That is not what I'm looking for but it works and can help. Thanks!

from semaphore.

matejkramny avatar matejkramny commented on September 27, 2024

@QIvan i suppose you want to attach to the living container right?

Another trick is to copy the files you need with docker cp

from semaphore.

QIvan avatar QIvan commented on September 27, 2024

Honestly this question is connected with next issue #59 . I just want to update ansible inside my production semaphore )

from semaphore.

matejkramny avatar matejkramny commented on September 27, 2024

@QIvan the best way is to build on top of the semaphore image and update ansible.

from semaphore.

Related Issues (20)

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.