mac docker ubuntu image
# To start again after a reboot:
docker start ubuntu
docker exec -it ubuntu bash
# If you want save your changes:
docker commit ubuntu
docker images
# See the unnamed image and:
docker tag <imageid> myubuntu
# Then you can run another container using your new image.
docker run -it --name myubuntu myubuntu bash
# Or replace the former
docker stop ubuntu
docker rm ubuntu
docker run -it --name ubuntu myubuntu bash
# commit
docker ps -a
docker commit -m 'add ssh' -a 'goooajw' e5d8c1030724 ubuntu-ssh
docker image ls
# start with sshd
docker run -d -p 22:22 --name learn ubuntu-ssh /usr/sbin/sshd -D
Also in Shell:
- shell copy
- linux check ip address command
- simple nodejs dockerfile
- checking if a substring exists in a string bash
- list hdfs running linux
- convert excel to csv command line linux
- install zsh debian
- crop video from specific time to specific time ffmpeg
- remove git
- install brew on raspberry pi
- matplotlib change he yticks to two number after digit
- bash endless loop
- cmd for loop
- cambiar nombre branch git
- linux extract tgz
- .htaccess
- open pdf command line linux
- how to install pytorch 0.4.1
- install opencv
- free port in linux
- ssl erzwingen htaccess
- pytorch anaconda install windows
- git bash anaconda
- vim compare 2 files