InfoHeap
Tech tutorials, tips, tools and more
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search
  • Home
  • > Mac Docker

Mac – docker sample – single container dev env – quick start

on Dec 29, 2022

Steps to start create and run docker sample – single container dev env:

  1. Install Visual Studio Code
  2. Install dev Containers extension in Visual Studio Code (Preferences > Extensions > Search for Dev Containers
  3. From Docker dashboard, click on Dev Environments and then click on run a single container. In setup type devenv1 as name. Keep other options as default.
  4. Once everything is set, click on open in vscode button. This will open vscode window.
  5. From menu select terminal and click create new terminal.
  6. Type one if the follong:
    make run
    or
    go run main.go
  7. Visit http://localhost:8080/ in browser on macbook.

Suggested posts:

  1. Docker quick start guide on Mac
  2. Docker container – handy commands
  3. Docker quick start guide on Ubuntu
  4. Docker – how to rerun a container with different flags
  5. Run nginx in docker container
  6. LXC (Linux Containers) – quick start tutorial on Ubuntu
  7. How to get docker container IP
  8. Install nginx and php in docker ubuntu container
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Mac Docker
  • Browse content
  • Article Topics
  • Article archives
  • Contact Us
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries

Copyright © 2023 InfoHeap.

Powered by WordPress