Created
August 19, 2020 14:23
-
-
Save chebyte/2890bb4b5341eddec47c632d4dfee93c to your computer and use it in GitHub Desktop.
Docker for ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
ubuntu: | |
image: ubuntu:18.04 | |
volumes: | |
- .:/curso | |
working_dir: /curso |
Si no queres o no tenes instalado docker-compose podes hacerlo directamente con docker de la siguiente forma
docker run -it -w /curso -v "/TUCARPETALOCAL:/curso" ubuntu:18.04 /bin/bash
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Como usar?
docker-compose run ubuntu /bin/bash