GithubHelp home page GithubHelp logo

docker-dev's Introduction

docker-dev: Dockerized Development Environment

Welcome to docker-dev! This repository houses my software development environment encapsulated within a Docker container.

Getting Started

1. Start the container

Using make:

make run

Without GNU make:

docker run -d --rm --name dev docker-dev:latest

2. Setting Up User Password

If you wish to change the default user password, follow these steps:

  1. Launch a shell inside the container:
    docker exec -it dev bash
  2. Change the password for clarry:
    passwd clarry
  3. Exit the shell.

3. Executing Commands as a User

To run a shell program as the user clarry, use:

docker exec -it --user clarry:clarry dev bash

4. Generate a Github Personal Authentication Token

A Github personal authentication token is required to install the dotfiles using YADM.

  • Navigate to Github and log into your account.
  • Click on your profile photo (top right) and go to Settings.
  • On the left sidebar, click on Developer settings.
  • Click on Personal access tokens, then Generate new token.
  • Provide a descriptive name for the token and select the required scopes.
  • Click Generate token.
  • Copy the generated token and use it as a password when prompted by git

5. Integrating Dotfiles

Add my configurations from the Dotfiles repository.

yadm clone https://github.com/ceaser/dotfiles.git

When prompted to run the bootstrap process, enter y.

docker-dev's People

Contributors

ceaser avatar

Watchers

 avatar

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.