Install Oh My Zsh on Ubuntu Docker complete steps


Installing Oh My Zsh on Ubuntu Docker

You will need to install zsh, curl and git packages before you can install Oh My Zsh,

Steps to install Oh My Zsh on Ubuntu Docker Container

  1. Download docker image for Ubuntu: docker pull ubuntu
  2. Run the docker image: docker run ubuntu
  3. Run apt-get update to update the package list.
  4. Install zsh shell: apt-get install zsh
  5. Install curl: apt-get install curl
  6. Install git: apt-get install git
  7. Now run install.sh script from ohmyzsh github to install it,
    # sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    
    Cloning Oh My Zsh...
    remote: Enumerating objects: 1279, done.
    remote: Counting objects: 100% (1279/1279), done.
    remote: Compressing objects: 100% (1235/1235), done.
    remote: Total 1279 (delta 24), reused 1216 (delta 24), pack-reused 0
    Receiving objects: 100% (1279/1279), 1.06 MiB | 2.46 MiB/s, done.
    Resolving deltas: 100% (24/24), done.
    From https://github.com/ohmyzsh/ohmyzsh
     * [new branch]      master     -> origin/master
    Branch 'master' set up to track remote branch 'master' from 'origin'.
    Already on 'master'
    /
    
    Looking for an existing zsh config...
    Using the Oh My Zsh template file and adding it to ~/.zshrc.
    
    Time to change your default shell to zsh:
    
    Do you want to change your default shell to zsh? [Y/n] y
    Changing your shell to /usr/bin/zsh...
    Shell successfully changed to '/usr/bin/zsh'.
    
             __                                     __   
      ____  / /_     ____ ___  __  __   ____  _____/ /_  
     / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \ 
    / /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / / 
    \____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/  
                            /____/                       ....is now installed!
Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap