Archived
1
3
Fork
You've already forked Docker
1

Add 'update.sh' #1

Merged
snematoda merged 7 commits from esmailelbob/Docker:main into main 2022年08月06日 16:17:24 +02:00
Contributor
Copy link
No description provided.

Thank you!

Sorry for the late reply, I get busy during the weekdays.

Will merge the PR after I test the code :)

Thank you! Sorry for the late reply, I get busy during the weekdays. Will merge the PR after I test the code :)

Just a few modifications:

  • You need to add docker-compose build after docker-compose down to build the image (since there are no pre-built images)

  • You have to remove the docker-compose.yml files with rm */docker-compose.yml to prevent conflicts when building

  • I would recommend adding set -x since the docker-compose commmands require sudo

Just a few modifications: - You need to add `docker-compose build` after `docker-compose down` to build the image (since there are no pre-built images) - You have to remove the `docker-compose.yml` files with `rm */docker-compose.yml` to prevent conflicts when building - I would recommend adding `set -x` since the `docker-compose` commmands require `sudo`
Author
Contributor
Copy link

You have to remove the docker-compose.yml files with rm */docker-compose.yml to prevent conflicts when building

Do not get what you mean excatly, the main docker-compose file? or files inside hyperpipe and hyperpipe-backend?

I would recommend adding set -x since the docker-compose commmands require sudo

What? O.o First time to see this syntax

> You have to remove the docker-compose.yml files with rm */docker-compose.yml to prevent conflicts when building Do not get what you mean excatly, the main docker-compose file? or files inside hyperpipe and hyperpipe-backend? > I would recommend adding set -x since the docker-compose commmands require sudo What? O.o First time to see this syntax

Do not get what you mean excatly, the main docker-compose file? or files inside hyperpipe and hyperpipe-backend?

The docker-compose.yml files inside ./Hyperpipe and ./hyperpipe-backend have to be removed

What? O.o First time to see this syntax

It is used to print the commands executed :)

btw, i think it would be easier to mention this in the readme

> Do not get what you mean excatly, the main docker-compose file? or files inside hyperpipe and hyperpipe-backend? The `docker-compose.yml` files inside `./Hyperpipe` and ./hyperpipe-backend have to be removed > What? O.o First time to see this syntax It is used to print the commands executed :) btw, i think it would be easier to mention [this](https://codeberg.org/esmailelbob/Docker/src/branch/main/update.sh#L12-L13) in the readme
Author
Contributor
Copy link

The docker-compose.yml files inside ./Hyperpipe and ./hyperpipe-backend have to be removed

Unsure why but done it, even though if file update it would tell you in git

It is used to print the commands executed :)

hmm, you mean like set -x sudo docker-compose ??

btw, i think it would be easier to mention this in the readme

Done

> The docker-compose.yml files inside ./Hyperpipe and ./hyperpipe-backend have to be removed Unsure why but done it, even though if file update it would tell you in git > It is used to print the commands executed :) hmm, you mean like `set -x sudo docker-compose` ?? > btw, i think it would be easier to mention this in the readme Done

hmm, you mean like set -x sudo docker-compose ??

here is an example :)

#!/bin/sh

set -x
sudo docker-compose down
echo "Building..."
sudo docker-compose build
> hmm, you mean like set -x sudo docker-compose ?? here is an example :) ```sh #!/bin/sh set -x sudo docker-compose down echo "Building..." sudo docker-compose build ```
Author
Contributor
Copy link

Okay so put it once, learned new thing toady!

and done

Okay so put it once, learned new thing toady! and done
Commenting is not possible because the repository is archived.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Hyperpipe/Docker!1
Reference in a new issue
Hyperpipe/Docker
No description provided.
Delete branch "esmailelbob/Docker:main"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?