## docker run
# [-d] run the container in detached mode, aka in the background
# [-p 80:80] map port 80 of the host to port 80 in the container
docker run -d -p 80:80 docker/getting-started
## docker build
# [-t] tag the image, a human-readable name for the final image
# [.] path to look for Dockerfile
docker build -t getting-started .
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
#!/bin/sh | |
exec tail -n +3 $0 | |
# This file provides an easy way to add custom menu entries. Simply type the | |
# menu entries you want to add after this comment. Be careful not to change | |
# the 'exec tail' line above. | |
# | |
# replace <ESP_UUID> with the UUID of your ESP partition | |
# run 'sudo update-grub -o /boot/efi/EFI/ubuntu/grub.cfg' | |
menuentry "Chainload RHEL" { |
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
The Clear BSD License | |
Copyright (c) [year] [fullname] | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without modification, | |
are permitted (subject to the limitations in the disclaimer below) provided that | |
the following conditions are met: | |
* Redistributions of source code must retain the above copyright notice, |
This section applies to machines with Secure Boot, such as ThinkPad.
- Before installation, switch to "Discrete Graphics" in BIOS, if both Intel and Nvidia graphics are present.
- During installation, make sure to select the "Install third-party software for graphics and Wi-Fi hardware and addition media formats" in "Updates and other software" screen.
- Select "Configure Secure Boot", and set password.
- Continue Ubuntu installation as normal.
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
name: carnd | |
channels: | |
- defaults | |
- conda-forge | |
dependencies: | |
- python | |
- autopep8 | |
- ffmpeg | |
- imageio | |
- ipython |
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
# ********************************************************************** | |
# type: Summarize changes in around 50 characters or less | |
# | |
# More detailed explanatory text, if necessary. Wrap it to about 72 | |
# characters or so. In some contexts, the first line is treated as the | |
# subject of the commit and the rest of the text as the body. The | |
# blank line separating the summary from the body is critical (unless | |
# you omit the body entirely); various tools like `log`, `shortlog` | |
# and `rebase` can get confused if you run the two together. | |
# |
NewerOlder