Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.36 KB

README.md

File metadata and controls

31 lines (19 loc) · 1.36 KB

Codefresh Terminal

Provides easy access to Docker container's insides. Follow these steps and you will know what inside your container :)

Step 1: create terminal service and build it

Click Add Service button and use this link https://github.com/containers101/cf-terminal as repo URL. Click build button in the end. It will create terminal image for you.

Step 2: add terminal in your composition

If you don't have composition yet please follow this link https://g.codefresh.io/compositions/new/services and create a new one. If you already have composition just use this composition. In our example we created a new composition for this service https://github.com/containers101/who-m-i (we called it my-service) and used https://github.com/containers101/cf-terminal/blob/master/docker-compose.yml for configuration. As you can see we shared app folder from my-service with terminal.

Don't forget to launch your composition in the end.

Step 3: get access to terminal

So all is done. Now we can get access to terminal and check what exactly is placed inside app folder. Open this link https://g.codefresh.io/environments/ and click Open App link.

It can ask username/password. Please use foo/bar.